What is garbage collection in Java, and how can it be used ?

Answer Posted / dsr

when ever object scope is over at that the object memory
removed.This is nown as garbageCollection.

Is This Answer Correct ?    19 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a war file?

544


What are the different types of java?

554


What is the role of the java.rmi.naming class?

519


What are parsing rules?

498


what are the disadvantages of indexes in oracle?

1863






What is a “stateless” protocol ?

551


Why is static used?

545


Which collection is sorted in java?

542


How are java objects passed to a method and what are native methods?

590


What is the nested interface?

593


What are some characteristics of interference class?

508


How do I stop concurrentmodificationexception?

506


How can a gui component handle its own events?

591


Is jdk required on each machine to run a java program?

746


How many types of flags are there?

519