Vidyalelo
PHP · Q35

Object Oriented Concept

Programming · PHP · question 35

Q35

Which keyword is used to put a stop on inheritance?

A.
stop
B.
end
C.
break
D.
final
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
A final class cannot be subclassed.