0

What is function overloading in python

13th Apr 2018, 4:42 PM
Mohammad Yasir
Mohammad Yasir - avatar
2 Respostas
+ 4
Given a single method or function, we can specify the number of parameters ourself. Depending on the function definition, it can be called with zero, one, two or more parameters. This is known as method overloading. Not all programming languages support method overloading, but Python does. https://pythonspot.com/method-overloading/
13th Apr 2018, 4:48 PM
Scooby
Scooby - avatar
13th Apr 2018, 5:17 PM
Calviղ
Calviղ - avatar