distinguish between overloading and overriding
Answers
Answered by
1
Answer:
The most basic difference is that overloading is being done in the same class while for overriding base and child classes are required. Overriding is all about giving a specific implementation to the inherited method of parent class.
Answered by
1
Answer:
The most basic difference is that overloading is being done in the same class while for overriding base and child classes are required. Overriding is all about giving a specific implementation to the inherited method of parent class
hope it helps
please mark me as brainliest and don't forget to follow me
Similar questions