InterviewSolution
Saved Bookmarks
| 1. |
What Happens When There Is Not Enough Heap Space To Accommodate Storage Of New Objects? |
|
Answer» If there is no memory space for CREATING a new object in Heap, JAVA VIRTUAL MACHINE throws OUTOFMEMORYERROR or more specifically java.lang.OutOfMemoryError heap space. If there is no memory space for creating a new object in Heap, Java Virtual Machine throws OutOfMemoryError or more specifically java.lang.OutOfMemoryError heap space. |
|