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

Memory management in JAVA

Answer Posted / srikanth

garbage collector ie gc is responsible for Memory
management in JAVA

whenever heap memory is full jvm makes list of objeects
which is unrefered and it calls finalize()method on that
method to cleanup resourse which is hold by it and finaaly
gc()method is invoked finally to relese the resource

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between checked exception and unchecked exception?

955


How does hashset works in java?

999


What is string made of?

913


Can we use different return types for methods when overridden?

942


What is string in java with example?

938


What classes of exceptions may be thrown by a throw statement?

907


Explain when noclassdeffounderror will be raised ?

987


What is java ceil?

980


What are the files generated after using IDL to java compiler?

1089


What is static and final keyword in java?

974


What is the main advantage of passing argument by reference?

906


Which data type is a class in java?

933


What is variable and constant explain with example?

1013


What is the synonym of string?

1031


Difference between arraylist and hashset in java?

1067