Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 33)
33.
How can you prevent a class in Python from being inherited by other classes?
Answer: Option
Explanation:
In Python, a class can be prevented from being inherited by using the
@final
decorator.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers