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

How to Sort Strings which are given in List and display in ascending order without using java api.

4337


Difference between method overloading and overriding.

1013


Explain the difference between protected and default access.

945


What are runtime exceptions?

1105


Which graphs are functions?

898


Can we have this () and super () together?

980


What is import java util arraylist?

1107


Why should we use singleton pattern instead of static class?

886


How do you sort a string in java?

901


How many types of operators are there?

929


What do you mean by inner class in java? Explain

1004


Can we extend singleton class?

897


What are 3 data types?

920


What is a default constructor and also define copy contrucyor?

1045


What is the purpose of stub and skeleton?

954