Vidyalelo
PHP · Q15

Exceptions And Error Handling

Programming · PHP · question 15

Q15

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

A.
Returns the message if it is passed to the constructor
Answer
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

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board