Which One Of The Following Is The Right Way To Invoke A Method #88
Which one of the following is the right way to invoke a method?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP OOPs - PHP OOPs Basics - Quiz No.1.
Which one of the following is the right way to invoke a method?
$object->methodName();
object->methodName();
object::methodName();
$object::methodName();