What is the difference between Overloading and Overriding?
- Team ATC
- Sep 26, 2020
- 1 min read
Random Post | #AskTheCode
When you have two methods of the same name but having different properties, the case is called Overloading. On the other hand, Overriding refers to a situation where two methods with the same name and properties occur, but the two occurring in a parent and child class respectively.
Comentarios