Sail E0 Webinar
Question
You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as..
Options:
A .  protected
B .  final
C .  static
D .  private
Answer: Option B


Marking a method as final prevents it from being overridden by a subclass.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers