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
Can private class be extended java?
Does a class inherit the constructors of its superclass in java programming?
Does substring start with 0?
How do I stop concurrentmodificationexception?
what is thread? : Java thread
What is a void method?
Explain 5 features introduced in jdk 1.7?
What is called module?
In which order the iterator iterates over collection?
What is a nested structure?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What are the super most classes for all the streams?
What is thread safe in java?
What is null statement?
What classes of exceptions may be caught by a catch clause in java programming?