Which One Of The Following Is The Right Way To Call A Class #87
Which one of the following is the right way to call a class constant, given that the class is mathFunction?
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 call a class constant, given that the class is mathFunction?
echo PI;
echo mathFunction->PI;
echo mathFunction::PI;
echo mathFunction=PI;