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...


Describe, in general, how java's garbage collector works?



Describe, in general, how java's garbage collector works?..

Answer / Pawan Kumar Pandey

Java's Garbage Collector (GC) is responsible for managing memory allocation and deallocation. It identifies and frees objects that are no longer referenced by any other object, thus eliminating potential memory leaks. The GC works based on a generational hypothesis, which assumes that most objects have short lifetimes. By categorizing objects into generations (young generation, survivor space, and tenured generation), the GC can optimize memory allocation and collection.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is RRL?

1 Answers  


How would you create a button with rounded edges?

1 Answers  


list the types of dialodg

1 Answers   Wipro,


What are the oops concept?

1 Answers  


What is ioc concept?

1 Answers  


How a component can be placed on Windows?

1 Answers   Wipro,


What is diffennce between AWT & SWING?

4 Answers  


How to send a request to garbage collector?

3 Answers  


What is the relationship between the canvas class and the graphics class?

1 Answers  


What is difference RMI registry and OSAgent?

1 Answers  


Why does the option tag render selected=selected instead of just selected?

1 Answers  


What is in-memory replication?

1 Answers  


Categories