Answer Posted / rajshree
during program execution objects are created in the
heap,after using those obejcts jvm should release those
momory space by garbage collection.but if in garbage
collection will not run on those object tha total heap will
be ocupied with those dead objects.
next time when JVM will try to allocate tyhe heap to an
object it wont be able to do so...that time it throws
outOfMemoryException.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the enumerator of the java collection framework? : java collections
my interviewer asked me what technical specification you used how to answer that question
what is mean by hasing and maping in java platform and advantage?
What are the differences between the java collection and the java list? : java collections
What are the interfaces in java collections? : java collections
What are the queues in the java collection framework? : java collections
What is an algorithm in java collection framework? : java collections
Which interface does java.util.hashtable implement?
please mail me the interview question based on java/j2ee
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What is the use of hashcode in java ?
What are the main classes of the list interfaces? : java collections
What are the types of interface used in the java collections? : java collections
What is java collection? : java collections
can u draw class/object diagram for ATM