Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 21)
21.
In Python, what is the purpose of the
__init_subclass__()
method?
Answer: Option
Explanation:
The
__init_subclass__()
method is called when a new subclass is created, allowing customization of the creation process.
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