Home / Programming MCQs / PHP MCQs / Question

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Assume we have the class Person. Which is the correct way to call a class constant ?

(A) echo AGE;
(B) echo Person->AGE;
(C) echo Person::AGE;
(D) echo Person=AGE;

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.