Python Method Overloading & Overriding


Do python supports method overloading?
No,Python do not support method overloading.
 

How do i simulate the method overloading in python?
You can simulate method overloading with optional parameters.
 

Do python supports method overriding?
Yes,Python support method overriding.

No comments:

Post a Comment