Which Function Is Used To Perform Some Action When The Object #185
Which function is used to perform some action when the object is to be destroyed?
This multiple choice question (MCQ) is related to the book/course
gs gs128 Java.
It can also be found in
gs gs128 Java Classes Methods - Constructor & Garbage Collection in Java - Quiz No.1.
Which function is used to perform some action when the object is to be destroyed?
finalize()
delete()
main()
none of the mentioned