Answers for "static polymorphism in destructor java"

2

why are there no destructors in java?

Because Java is a garbage collected language you cannot predict when (or even if) an object will be destroyed. Hence there is no direct equivalent of a destructor.
Posted by: Guest on October-27-2020

Code answers related to "static polymorphism in destructor java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language