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

what is daemon thread and which method is used to create the daemon thread? : Java thread

972


Explain java heap space and garbage collection?

1072


What is parsing a sentence?

1079


How do you achieve singleton?

980


Is zero a positive integer?

1063


What is the common usage of serialization? What exceptions occur during serialization?

1123


How can constructor chaining be done using this keyword?

1276


What is array and arraylist in java?

1106


What is the abstract class?

1028


what is the constructor and how many types of constructors are used in java?

1004


What does it mean to be immutable?

968


What do you mean by aggregation?

1321


Write a program to show whether a graph is a tree or not using adjacency matrix.

1096


What is an example of a keyword?

1107


Can we create our own wrapper class in java?

968