Python - 075 : Method Overloading in Python #python #pythonprogramming #pythontutorial

preview_player
Показать описание
Method Overloading:

Two or more methods have the same name but different numbers of parameters or different types of parameters, or both. These methods are called overloaded methods and this is called method overloading.

Like other languages (for example, method overloading in C++) do, python does not support method overloading by default. But there are different ways to achieve method overloading in Python.

The problem with method overloading in Python is that we may overload the methods but can only use the latest defined method.
Рекомендации по теме
Комментарии
Автор

As per i know possible nhi hai method overloadig error show hota hai

Abhaystomar