Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 49)
49.
How can you achieve method overloading in Python using variable-length arguments?
Answer: Option
Explanation:
Method overloading in Python can be achieved by defining a method with variable-length arguments using
*args
or **kwargs
.
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