What is garbage collection in Java, and how can it be used ?
Answer Posted / sangeetha
when we remove the object that it will be stored particular
memory space these are known as garbage collection.
It is finalize method is used in the garbage collection.
| Is This Answer Correct ? | 32 Yes | 20 No |
Post New Answer View All Answers
What is class??
how can you catch multiple exceptions in java?
What is the set interface in java programming?
List some java keywords sun like c, c + + keywords?
When object is created and destroyed?
What is a “stateless” protocol ?
How do you input a string in java?
What is the use of put method?
Can we have a try block without catch block?
What is a vector in java?
What is the benefit of singleton pattern?
Is java owned by oracle?
What is t type java?
What is generic type?
Explain about java sdk?