Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

Which of the following does not deal with exceptions?

A throws
B throw
C finalize
D finally
Answer & Explanation
Option: [C]

finalize is a method and all other three are keywords. finalize() method is defined in java.lang.Object class. finalize() method is called to perform specific actions before Garbage collector reclaim the object.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
Assam Direct Recruitment Test Series

Computer Science Topics