1.

Which function is used toperform some action when the object is to be destroyed?(a) finalize()(b) delete()(c) main()(d) none of the mentionedI had been asked this question in an online quiz.My doubt stems from Constructors & Garbage Collection in division Classes and Methods of Java

Answer» RIGHT choice is (a) FINALIZE()

Easiest EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions