πŸ“Š PHP
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;
πŸ’¬ Discuss
βœ… Correct Answer: (C) echo Person::AGE;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
169
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
91%
Success Rate