Question: please answer all questions 1. ( 5 points) Instructor's objectives of this course: 2. (15 points =26+3) (1) What are main steps of doing usual

1. ( 5 points) Instructor's objectives of this course: 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? (4) What are main hardware components of computer systems? (5) (3 points) How many primitive data types do we have in Java? List all the primitive data types. (6) How do you make identifiers? (7) List operator precedence (i.e. the order in which various operators are evaluated) in Java. 3. (5 points) Define the following terms (in Java). (1) Overloading: (2) Overriding: 4. (10 points =52) Draw memory diagrams that deseribe how the following JAVA objects refer memory. (1) Integer i,j; (2) i= new Integer(10); (3) j = new Integer(20); (4) j=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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
