Home / Programming MCQs / JAVA MCQs / Question

M

Mohini Yadav • 27.60K Points
Instructor II

Q. Array are stored in which memory space?

(A) heap space
(B) stack space
(C) heap space and stack space
(D) first generation memory
Explanation by: Mohini Yadav
Array is stored in heap space. Whenever an object is created, it is always stored in heap space and the stack keeps the reference.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.