You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________
A. protected
B. final
C. static
D. private
Answer: Option B
Solution(By Examveda Team)
Marking a method as final prevents it from being overridden by a subclass.Related Questions on Exceptions and Error Handling
What is the description of Error level E_ERROR?
A. Fatal run-time error
B. Near-fatal error
C. Compile-time error
D. Fatal Compile-time error
Join The Discussion