Question: 2 . Analyze the following statements, write the variable name, type of the variable and also mention whether it is primitive type or object type

2. Analyze the following statements, write the variable name, type of the variable and also mention whether it is primitive type or object type in the table given below.
a. int count =0;
b. Course mycourse=new Course();
c. String name = "MyName";
d. Rectangle rect=new Rectangle();
e. double salary=1000.125;

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!