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
How is string immutable in java?
Where are variables stored?
What is a generic type?
What is meant by javabeans?
Can we increase size of array?
Explain about map interface in java?
Can java run on google chrome?
Explain notifyall() method of object class ?
What are autoboxing and unboxing? When does it occur?
Is a method a function?
Where is the find and replace?
What are wrapper classes in java?
Write code to implement bubble sort in java?
Difference between notify() method and notifyall() method in java?
What are java annotations?