Home » PHP » PHP Exception Handling » Question
  1. Which one of the following is the right description for the method getMessage() ?
    1. Returns the message if it is passed to the file
    2. Returns the message if it is passed to the object
    3. Returns the message if it is passed to the constructor
    4. Returns the message if it is passed to the class
    5. None of these
Correct Option: C

Returns the message if it is passed to the constructor



Your comments will be displayed only after manual approval.