PHP Questions & Answers – Basics of Object-Oriented PHP- 2

PHP Multiple Choice Questions & Answers (MCQs) focuses on “Basics of Object-Oriented PHP- 2”. Q 1. Which method scope prevents a method from being overridden by a subclass?A. AbstractB. ProtectedC. FinalD. Static Show Answer Answer:-C. Final Explanation When we declare a method is as final then it is not possible to override that method. Methods … Continue reading PHP Questions & Answers – Basics of Object-Oriented PHP- 2