+1 vote
in Php by (630 points)

1 Answer

0 votes
by (410 points)

The final keyword prevents child classes from overriding a method by prefixing the definition with final . If the class itself is being defined final then it cannot be extended.

Welcome to Reubro Q&A, where you can ask questions and receive answers from other members of the community.
...