MCQ
Single Best Answer
Easy
Qdouble x[] = {2.5, 4.5, 5.5, 6.4}; occupies ___ bytes.
ID: #24151
ICSE Computer Application - Class X - 2025 PYQ
240 views
Question Info
#24151Q ID
EasyDifficulty
ICSE Computer Application - Class X - 2025 PYQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option D
Explanation
Each double in Java occupies 8 bytes, and the array contains 4 elements.
Total memory occupied = 8 bytes × 4 = 32 bytes
Correct answer: (d) 32
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic