Overloading in which the parent class and child class we can have more than one method with same and different signature.
properties:
1.Method name should be same and signature unique.
2.Overloading does't considered method return type and access specifier.
3.Static methods can be overloaded by static and non static methods.
4.Final methods can be overloaded.
5.Constructor can be overloaded.
properties:
1.Method name should be same and signature unique.
2.Overloading does't considered method return type and access specifier.
3.Static methods can be overloaded by static and non static methods.
4.Final methods can be overloaded.
5.Constructor can be overloaded.
Comments
Post a Comment