How do I use method overloading in Python?

PythonServer Side ProgrammingProgramming

Method overloading means having two methods with the same name. We can't have two methods with the same name in Python and and we don't need to.

In Python, method overloading is not possible; if you want to access  the same function with different features, it is better to go for method overriding.

raja
Published on 16-Jan-2018 18:14:18
Advertisements