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

how exactly garbage collection take place?

Answer Posted / vijayakumar chinnasamy

Variable/object
1. is eligible for garbage collection when no object refers
to it.
2. Is eligible when its reference is set to null i.e
objName=null.
3. referred by method variables or local variables are
eligible for garbage collection when they go out of scope.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a boolean variable?

1010


What is the primitive type short?

1019


How do you create a method in java?

1002


Explain the concept of proper inheritance?

1068


what is the significance of listiterator in java?

1080


Implement two stacks using a single array.

1066


How to create packages in java?

950


Can I use % with real numbers?

1022


Is java call by reference?

977


Is java a super set of javascript?

1105


Why inputstreamreader is used in java?

1022


What are 4 pillers of object orinted programming?

1017


How do you find the maximum number from an array without comparing and sorting?

1123


What is a dynamic array in java?

1181


What does 3 dots mean in java?

989