Question: What will happen to the following code Double a; a = 9 3 0 0 0 . 0 A Double object is created and value
What will happen to the following code
Double a;
A Double object is created and value is stored in the object, the object's
reference is stored in a
Syntax error, type should be double, not Double
run time error, value cannot be assigned to an object reference variable
a Double object is created and stored at memory address
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
