1.

Which keyword is used to put a stop on inheritance?(a) stop(b) end(c) break(d) finalI have been asked this question by my college director while I was bunking the class.I want to ask this question from Object Advanced Features topic in chapter Objects and Databases in PHP of PHP

Answer» RIGHT OPTION is (d) FINAL

Explanation: A final CLASS cannot be subclassed.


Discussion

No Comment Found

Related InterviewSolutions