Question: If a class has this method, it is called automatically just before an instance of the class is destroyed by the Java Virtual Machine. a.
If a class has this method, it is called automatically just before an instance of the class is destroyed by the Java Virtual Machine.
a. Finalize
b. Destroy
c. Remove
d. Housekeeper
Step by Step Solution
3.47 Rating (150 Votes )
There are 3 Steps involved in it
The correct answer is a Finalize When an instance of a class is no longer needed the Java Virtual Ma... View full answer
Get step-by-step solutions from verified subject matter experts
