What is the difference between over loading and over riding? |
[Edit] |
Answer
overloading” is having the functions (methods) with the same name but different signatures. Overloading acts on different data types in different ways.
“overriding” is having a methods with same name and same signature in a parent class and the child class. Overriding acts on different object types in different ways.
......
ambuj24@gmail.com
First answer by ID3394820544. Last edit by ID3394820544. Question popularity: 11 [recommend question]
|
Research your answer: |



