Click an option to check whether your answer is correct.
Each double in Java occupies 8 bytes, and the array contains 4 elements.
double
Total memory occupied = 8 bytes × 4 = 32 bytes
Correct answer: (d) 32
Explore more questions from similar topics.
Share this MCQ with your friends or study group.