Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 74)
74.
How can you achieve method overriding in Python using the
@property
decorator?
Answer: Option
Explanation:
Method overriding in Python can be achieved by using the
@property
decorator on the method in the superclass and implementing it in the subclass.
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