Question: please answer all 3. (5 points) Define the following terms (in Java). (1) Overloading: (2) Overriding: 4. (10 points =52) Draw memory diagrams that describe

3. (5 points) Define the following terms (in Java). (1) Overloading: (2) Overriding: 4. (10 points =52) Draw memory diagrams that describe how the following JAVA objects refer memory. (1) Integer i,j; (2) i= new Integer(10); (3) j= new Integer(20); (4) j=i i; (5) i = null; 5. (10 points =52) Answer the following questions. (1) How do you distinguish between a variable and a reference in declaration? (2) What is supposed to be stored in a variable? (3) What is supposed to be stored in a reference? (4) How do you initialize a variable? (5) How do you initialize a reference? 2. (15 points =26+3) (1) What are main steps of doing usual programming? (2) What are main steps of usual Java statements? (3) What are main operations in CPU
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
