Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 51)
51.
What is the purpose of the
__missing__()
method in Python classes?
Answer: Option
Explanation:
The
__missing__()
method is used to customize the behavior when a key is not found in a class used as a dictionary.
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