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

C and C++ has constructors and distructors, why does Java
does not have distructors?

Answer Posted / sandesh magdum

Because java has automatic garbage collection feature and java
does not let you illegally or accidentally release memory
occupied by an object.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anonymous class have constructor?

981


What do you mean by garbage collection used in java?

1022


What is the difference between processes and threads?

1002


Give me some null interfaces in java?

1015


Difference between a process and a program?

1067


What is backdrop?

1024


What is a boolean field?

918


Why we use protected in java?

935


What are the different ways of creating thread?

968


Is java se free?

898


Why javac is not recognized?

900


Where pragma is used?

1001


Is 0 an irrational number?

1011


What is an i/o filter?

1702


What is the concatenation operator in java?

1091