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
Should we create system software ( e.g operating system ) in java ?
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
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is deque in the java collections framework? : java collections
What do you understand by synchronization? Why is it important?
What are the types of interface used in the java collections? : java collections
What are the queues in the java collection framework? : java collections
How is hashset maintained in memory by java ?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
Which interface does java.util.hashtable implement?
What is the use of hashcode in java ?
What is iterator in the java collections framework? : java collections
What is the use of the list interface in the java collection? : java collections