Pregunta de entrevista de Allerin Technologies

1) Overloading and Overriding. basic questions of java.

Respuesta de la entrevista

Anónimo

21 feb 2016

Method overloading -Two or more method having same name but with different parameters. Constructor Overloading -Method having same name as class name and two or more method with same name but with different parameters. Method Overriding-when Parent class and subclass ie.child class has same method name with same method method signature then subclass is said to be overriding and Parent class is said to be overridden.

1