Allerin Technologies interview question

1) Overloading and Overriding. basic questions of java.

Interview Answer

Anonymous

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