employer cover photo
employer logo
employer logo

Tata Consultancy Services (North America)

Ist dies Ihr Unternehmen?

Frage im Vorstellungsgespräch bei Tata Consultancy Services (North America)

Explain method overriding vs method overloading

Antwort im Vorstellungsgespräch

Anonym

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.