posted 14 years ago
What is the sequence of Events taken by JVM for the follwing line of Code ??
int[] a= new int[6];
OPTION 1
1) Refernce Variable a is created first and is initializes to NULL.
2) An array object is created.
3) Information abt how to access that object is then put into the refernce variable.
Option 2
1)) An array object is created.
2) Refernce Variable a is created first and is initializes to NULL.
3) Information abt how to access that object is then put into the refernce variable.
Please explain also ???
SCJP 6.0 96%
(Connecting the Dots ....)