Question d’entretien chez Allerin Technologies

1) Overloading and Overriding. basic questions of java.

Réponse à la question d'entretien

Utilisateur anonyme

21 févr. 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