1.

Which class contain runFinalization() method?(a) Finalize(b) System(c) Final(d) SystemFinalI got this question during an online exam.My enquiry is from Inbuilt Classes topic in section Inbuilt Classes of Object Oriented Programming

Answer»

Correct answer is (b) System

The explanation: The RUNFINALIZATION() Function is defined in the System class. The function is used to FINALIZE an object which undergo DESTRUCTION. The action is required to TERMINATE the object properly.



Discussion

No Comment Found

Related InterviewSolutions