Home » PHP » PHP Exception Handling » Question
  1. You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________.
    1. static
    2. protected
    3. private
    4. final
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.