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

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;
 

Tìm kiếm

Back
Top