Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / rana.ankur

Garbage collection is a method of jvm.In JAVA when object
iis not use in otherway there is no refrence to that object
it is ellegible for Garbage collection.

demon thread is used and its is known as Garbage
collectior..
and finalize method are also invoke to give last chance to
object to save it imprtant data..thanking you

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string serializable in java?

959


how to create daemon thread in java?

1011


What steps are taken when the OS shifts from one-thread execution to another?

1312


worst case complexities of Quick sort and Merge sort.

948


Can a method inside a interface be declared as final?

947


What is garbage collection? Can it be forced to run?

951


Explain enumeration in java?

954


How do you sort an array in java?

931


What are different types of encoding?

1032


What are static initalizers in java ?

962


Describe string intern() methodology

1015


Differentiate between a class and an object.

989


What is the difference between an array and an array list?

956


What do you mean by stream pipelining in java 8?

1154


Why set do not allow duplicates in java?

1002