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 are thread groups?

1004


What are the rules for variable declaration?

969


Can we sort hashmap in java?

959


What are the legal parameters?

1010


how to write a server program and sending the mails to the server using smtp protocol please help me

2066


What are the different types of data structures in java?

990


If a variable is declared as private, where may the variable be accessed?

1061


What is charat ()?

931


What is the purpose of garbage collection in java?

1100


What are the data types supported by java?

1026


Define "Access specifiers" in java.

1173


What is the function of java?

1007


What is constructor chaining and how is it achieved in java?

1154


What is the inheritance?

975


Explain illegalmonitorstateexception and when it will be thrown?

1101