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
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
What are the considerations to be made in case of loops in java ?
What are the differences between the java collection and the java list? : java collections
What is the use of hashcode in java ?
What is iterator in the java collections framework? : java collections
What is deque in the java collections framework? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What do you understand by synchronization? Why is it important?
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 ?
How is hashset maintained in memory by java ?
What are the interfaces in java collections? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
my interviewer asked me what technical specification you used how to answer that question
Should we create system software ( e.g operating system ) in java ?
What is the enumerator of the java collection framework? : java collections