Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

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.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand