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
What is a war file?
What are the different types of java?
What is the role of the java.rmi.naming class?
What are parsing rules?
what are the disadvantages of indexes in oracle?
What is a “stateless” protocol ?
Why is static used?
Which collection is sorted in java?
How are java objects passed to a method and what are native methods?
What is the nested interface?
What are some characteristics of interference class?
How do I stop concurrentmodificationexception?
How can a gui component handle its own events?
Is jdk required on each machine to run a java program?
How many types of flags are there?