A Admin • 833K Points Coach Q. How can we prevent a class from being inherited? (A) By using `final` keyword (B) By using `@noinherit` decorator (C) Python doesn't have built-in support to prevent inheritance (D) By setting `__inherit__ = False` Correct Answer - Option(C) Views: 21 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.