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 backdrop?

1063


When a byte datatype is used?

2182


What are reference variables in java?

1118


Explain the difference between extends thread vs implements runnable in java?

1124


Why java is said to be pass-by-value ?

1034


Can a class have an interface?

977


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1084


Explain heap sort?

1103


Differentiate storage classes on the basis of their scope?

1171


Explain reverse a linked list iterative solution in java?

919


What is the difference between post and put?

1048


How the interruptible method gets implemented?

971


Name container classes in java programming?

1088


I want to re-reach and use an object once it has been garbage collected. How it's possible?

1020


Is a boolean variable?

1000