1.

_Which one of the following is the right way to call a class constant, given that the class is mathFunction?$?

A. echo PI;
B. echo mathFunction->PI;
C. echo mathFunction::PI;
D. echo mathFunction=PI;
Answer» D. echo mathFunction=PI;


Discussion

No Comment Found

Related MCQs