πŸ“Š 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

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