📅  最后修改于: 2022-03-11 14:52:36.603000             🧑  作者: Mango
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.