Interviewer And Interviewee Guide

Java Classes Interview Question:

finalize( ) is only called just prior to _________
A) Initialisation
B) Runtime
C) Garbage Collection
D) None of the above

Submitted by: Administrator
Ans is : Garbage Collection

b'coz the finalize() method is called by the garbage collector when it determines no more references to the object exist.
Submitted by: Administrator

Read Online Java Classes Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.