What are the Difference Between Method Overloading And Method Overriding In Python
Answers
Answered by
0
Answer:
In Method Overloading, methods have same name different signatures but in the same class. In Method Overriding, methods have same name and same signature but in the different class. Method Overloading does not require more than one class for overloading. Method Overriding requires at least two classes for overriding
Explanation:
Answered by
1
In Method Overloading, methods have same name different signatures but in the same class. In Method Overriding, methods have same name and same signature but in the different class. Method Overloading does not require more than one class for overloading. Method Overriding requires at least two classes for overriding.
Thank u hope it helps u.
Similar questions