Overloading

Overloading methods
1.They appear in the same class or a subclass.
2.They have the same method name but, have different argument lists(Compulsory).
3. Can have different return type(Not compulsory).
4. It has nothing to do with inheritance and polymorphism.
 





Leave a Reply.