ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

Which keyword is used to declare a constant property?

Answer & Solution
Correct Answer: Option A
A constant property is declared with the const keyword. Like global constants, class constants cannot be changed once they are set.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.