Which keyword is used to declare a constant property?
A. const
B. con
C. constant
D. _constant
Answer:A
Which keyword is used to declare a constant property?
A. const B. con C. constant D. _constant
Explanation: A constant property is declared with the const keyword. Like global constants, class constants cannot be changed once they are set.