answersLogoWhite

0

How does java support the concept of destructer in java?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

In Java, Java does support the concept of destructor, it's done via special method finalize.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does java support the concept of destructer in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is destructor allowed in java?

No. Java does not support the concept of Destructors like C


Does java support oops concept?

Yes. Java is an Object Oriented Programming Language and it supports the OOPS concepts like Inheritance, Polymorphism etc


Do you have destructer in java?

No. Memory management is handled automatically in Java, so there is no need for a destructor. Also, you can use a finalize block of code where you can assign all large objects to null. This can significantly aid the memory management a.k.a garbage collection done by the JVM.


What does java not support?

Java does not support multiple inheritance.......


Does a DSI have java?

No it does not support Java


Does java support call by reference?

No , Java does not support call by reference.


Does Java support copy constructor?

No. Java does not support copy constructor


Pointers are replaced by what in java?

Nothing. Java does not have a concept that is equivalent to Pointers.


What is pointer in java?

There is no concept similar to pointers in Java. Pointers are a feature in C programming using which a programmer can access the memory. This was the cause of major catastrophic programming bugs. The creators of Java excluded this feature just to avoid such catastrophic bugs.


Does the G1's browser support Java and Flash?

No. I have read that it will support Java. I believe that it does not support flash ATM.


What are the background pointers in java?

Java does not support pointers.


In which language pointer concept is not used?

Java