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 are variable names?

532


What is indexof in java?

519


What’s the difference between unit, integration and functional testing?

620


What is meant by polymorphism?

541


Explain how to force the garbage collection in java.

537






What is used of static keyword in java?

594


When do we use synchronized methods in java?

586


What is the difference between access specifiers and access modifiers in java?

578


Which software is used for java programming?

564


Why java doesn’t support multiple inheritances?

588


What is the meaning of find and replace?

529


Write a program to solve producer consumer problem in java?

571


What does it mean that a method or field is “static”?

553


Is Constructor possible in abstract class in java ?

596


Is oracle java 11 free?

533