Sollicitatievraag bij Tata Consultancy Services (North America)

Explain method overriding vs method overloading

Antwoord op sollicitatievraag

Anoniem

26 aug 2020

Overriding is when a child class has the same method name as the parent but implements different functionality. Overloading is when a class has two methods with the same name but that take different arguments.