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

Is empty string in java?

1189


Name some classes present in java.util.regex package.

1039


Why can't you declare a class as protected?

1144


how do I create a runnable with inheritance? : Java thread

991


Explain the JDB in depth & command line.

1022


What is final int?

1035


Explain about serializable interface in java?

1010


What is the difference between and ?

1024


What is the benefit of inner / nested classes ?

991


What are some characteristics of interference class?

1000


Can we make the abstract methods static in java?

1069


What is the preferred size of a component in java programming?

1007


What does string mean in java?

1115


What does the “static” keyword mean? Can you override private or static method in java?

1103


What does a void function return?

1018