employer cover photo
employer logo
employer logo

Information Technology Integrated Systems

¿Esta es tu empresa?

Pregunta de entrevista de Information Technology Integrated Systems

What is difference overloading and overriding?

Respuesta de la entrevista

Anónimo

23 dic 2020

Overloading occurs when two or more methods in one class have the same method name but different parameters. Overriding means having two methods with the same method name and parameters (i.e., method signature). One of the methods is in the parent class and the other is in the child class. Overriding allows a child class to provide a specific implementation of a method that is already provided its parent class.