Question: ( 1 ) Indicate if the following variables are primitive or a reference variable being declared. a ) double q; b ) Employee e d

(1) Indicate if the following variables are primitive or a reference variable being declared.
a) double q;
b) Employee e
d) float f;
c) Intrigen
e) Boolean b;
(2) Draw the following variables from the following initializations.
a)q=32.5
b)i=17;
c)S= "one";
d) e=new Employee ("Sam",35,25.00);
(3) Declare the following reference variables.
a) Student S; b) Faculty f; c)Administrator a
Do these variables allocate memory space?
 (1) Indicate if the following variables are primitive or a reference

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!