Q. Which keyword is used to prevent a class from being inherited in PHP?
β
Correct Answer: (A)
final
Explanation: The 'final' keyword prevents a class from being extended.