PHP Interview Questions and Answers

 

What is the meaning of a final class and a final method?

'final' is introduced in PHP5. Final class means that this class cannot be extended and a final method cannot be overrided.

Posted by:Richards