Answer: 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.
Answer: 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.
Answer: Option [D]
MalformedURLException thrown to indicate when a illegal URL has occured.
Answer: Option [C]
Throwbale class is in java.lang and it is the base class for all Exceptions
Answer: Option [C]
Java’s exception handling mechanism handle errors such as divide integer by zero, ClassNotFound etc.