adplus-dvertising
frame-decoration

Question

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

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

Posted under PHP

Answer: (a).Returns the message if it is passed to the constructor

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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