Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. What are the types of memory allocated in memory in java?

(A) Heap memory
(B) Stack memory
(C) Both A and B
(D) None of these
Explanation by: Team MCQ Buddy
Memory allocation in java occurs in two ways, mainly, stack and heap space.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.