overloading

Overloading vs Overriding

When two or more methods in the same class have the same name but different parameters, it's called Overloading. When the method signature (name and parameters) are the same in the superclass and the child class, it's called Overriding.

Posted September 9, 2022 by Rohith and Anusha ‐ 1 min read

quick-references blog overriding overloading differences

Subscribe For More Content