Zend
200-530 · Question #526
Which of the following keywords is used to prevent a method/class to be overridden by a subclass?
The correct answer is C. final. See the full explanation below for the reasoning.
Question
Which of the following keywords is used to prevent a method/class to be overridden by a subclass?
Options
- Apublic
- Bprotected
- Cfinal
- Dabstract
How the community answered
(34 responses)- A12% (4)
- B3% (1)
- C82% (28)
- D3% (1)
Community Discussion
No community discussion yet for this question.