top of page
Click here to go to the home page of AskTheCode.

What is the difference between Overloading and Overriding?

Team ATC

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.


Recent Posts

See All

留言


bottom of page