Python Programming - Decorators - Discussion
Discussion Forum : Decorators - General Questions (Q.No. 14)
14.
Which decorator is used to declare abstract methods in a Python class?
Answer: Option
Explanation:
The
@abstractmethod
decorator is used to declare abstract methods in an abstract base class, indicating that concrete subclasses must implement these methods.
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