What is garbage collection in Java, and how can it be used ?
Answer Posted / dhawal
garbage collection is process run thruogh out the java
programe ,when we class creation takes place after that we
have to instantiate that class ,if we can not gives refrence
to this object then that will be find out by garbage
collector and that will collect by garbage collector.
Is This Answer Correct ? | 11 Yes | 16 No |
Post New Answer View All Answers
Which package has light weight components?
What are triggers in DB? Explain their types. How do they work?
Explain notifyall() method of object class ?
What does += mean in java?
Can list be final in java?
What is thread synchronization in java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
How to create an interface?
What is thread count in java?
List some java keywords sun like c, c + + keywords?
Does java set allow duplicates?
Is ruby built on java?
What is the requirement of thread in java?
What is intern method in java?
What does the @override annotation do?