MCQ Single Best Answer Not Set

QWhich one of the following is the right way to invoke a method?

ID: #2578 Object Oriented Concept of PHP 1,199 views
Question Info
#2578Q ID
Not SetDifficulty
Object Oriented Concept of PHPTopic

Choose the Best Option

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

  • A $object->methodName();
  • B object->methodName();
  • C object::methodName();
  • D $object::methodName();
Correct Answer: Option A

Explanation

$object->methodName();

Share This Question

Challenge a friend or share with your study group.