MCQ Single Best Answer Not Set

QWhich one of the following is the right description for the method getMessage()?

ID: #2454 Exception Handling in PHP 683 views
Question Info
#2454Q ID
Not SetDifficulty
Exception Handling in PHPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Returns the message if it is passed to the constructor.
  • B Returns the message if it is passed to the class.
  • C Returns the message if it is passed to the file.
  • D Returns the message if it is passed to the object.
Correct Answer: Option A

Explanation

Returns the message if it is passed to the constructor.

Share This Question

Challenge a friend or share with your study group.