1

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

Correct Answer: echo Person::AGE;

Make the most of this question

This page focuses on one PHP MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

PHP MCQs MCQ: Assume we have the class Person. Which is the correct way to call a class constant ? | Extra Education