Overriding vs. overloading
Page 1 of 1
Overriding vs. overloading
Overloading helps to create different behaviors of methods with the same name and scope. For instance we can overload a method to return float values and integer values.
Overriding on the other hand changes the behavior of a class to make it behave different than its parent class.
Similar topics
» What is overriding?
» How would you differentiate between a pre and post increment operators while overloading?
» How would you differentiate between a pre and post increment operators while overloading?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|