Zend
200-710 · Question #132
Which of the following statements is NOT true?
The correct answer is C. Class constants can omit initialization (default to NULL). See the full explanation below for the reasoning.
Object-Oriented Programming
Question
Which of the following statements is NOT true?
Options
- AClass constants are public
- BClass constants are being inherited
- CClass constants can omit initialization (default to NULL)
- DClass constants can be initialized by const
How the community answered
(46 responses)- A2% (1)
- B11% (5)
- C80% (37)
- D7% (3)
Topics
#class constants#constant visibility#constant initialization#inheritance
Community Discussion
No community discussion yet for this question.