By: Ash Emailed: 1696 times Printed: 2193 times
int x = new int;
After execution, which statement or statements are true?
A. x is 0.
B. x is undefined.
C. x is 0.
D. x is null.
E. x.length is 25.
Answer:A and E are true. The array has 25 elements, indexed from 0 through 24. All elements are initialized to zero.
Be the first one to add a comment
Most Viewed Articles (in Certification )
Most Emailed Articles (in Certification)