Question: a) Briefly introduce class field and instance field in Java. If we are modeling a class City, indicate if the fields area and minimum-area should

 a) Briefly introduce class field and instance field in Java. If

a) Briefly introduce class field and instance field in Java. If we are modeling a class City, indicate if the fields area and minimum-area should be a class field or an "instance field. [4 marks] care si b) Based on your student information, answer the following questions: i. Write one statement to declare an array of int variable and initialize it with digits of your student ID number. Name this variable with your surname. E.g. use array elements 1,2,3,4,5,6,7,8 if your student ID is 12345 ii. What is the last index number of the above array? [3 marks) COPTER c%b1|true true&&b!=a+c/b OP. iii. Write your answers on the below table provided in the given answer book. The second operator to be evaluated Evaluated value of the second operator i. ii. iii. [3 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!