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

What is garbage collection in Java, and how can it be used ?

Answer Posted / sachin deshmukh

In java doesn't allow memory leakage,Garbage collector
automatically deallocates memory.It deallocates memory of
objects that no longer has any references i.e. references
count is zero.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cr keyboard?

1263


What is meant by object?

1007


What is the use of isempty in java?

1028


Can a final variable be null?

1017


Can we pass null as argument in java?

952


What happens if we don’t override run method ?

1005


What is the escape character in java?

994


What is predicate in java?

1059


Does the order of public and static declaration matter in main method?

1072


Is arraylist a class in java?

1069


Explain what is encapsulation?

1085


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

981


What are different access specifiers in java? Explain

1126


What all methods are used to prevent thread execution ?

1034


Explain try and catch keywords in java?

1205