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 are the differences between the java collection and the java list? : java collections
How do I find jre path in windows?
What are the types of interface used in the java collections? : java collections
What are the different types of features of the java collections framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
What is an algorithm in java collection framework? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What do you understand by synchronization? Why is it important?
What are the queues in the java collection framework? : java collections
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 ?
What are the types of the main implementing classes in the map interfaces? : java collections
What are the interfaces in java collections? : java collections
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.
Which sorting algorithm is used by collections.sort() in java ?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.