Step 1: Understanding memory management in Java.
Java uses different types of memory areas to store program data. These memory areas include the stack memory, heap memory, and method area. Each of these memory areas serves a different purpose in storing program information.
Step 2: Role of heap memory.
The heap is a special memory region used by Java to store objects that are created during program execution. Whenever an object is created using the new keyword, the memory required for that object is allocated in the heap memory.
Heap memory allows dynamic memory allocation, meaning that objects can be created and destroyed while the program is running.
Step 3: Automatic memory management.
Java automatically manages heap memory using a process called garbage collection. The garbage collector identifies objects that are no longer being used and frees their memory.
Step 4: Evaluation of options.
(A) leap: Incorrect. This is not a valid memory area in Java.
(B) deap: Incorrect. This is not a recognized Java memory structure.
(C) heap: Correct. Objects in Java are stored in heap memory.
(D) meap: Incorrect. This term is not used in Java memory management.
Step 5: Conclusion.
Therefore, the special portion of memory where objects are stored in Java is called the heap.
Final Answer: heap