Distinguish method overloading and overriding

Answers were Sorted based on User's Feedback



Distinguish method overloading and overriding..

Answer / pralay

Method Overloading is functionality of java in which we can
declare many method with same name but different signature
in one class, but Overriding is a the process of declare a
method which is already define in super class, this Method
has same name and same signature as super class.

Is This Answer Correct ?    6 Yes 1 No

Distinguish method overloading and overriding..

Answer / anita kumari

In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Write a function for palindrome and factorial and explain?

0 Answers   Honeywell, Huawei, Zomato,


What is the differenc between Enemuration interface and iterator interface according to accessing?

4 Answers  


use of wrapper classes?

3 Answers   IBM,


what is use of session tracking ?with example?

1 Answers   Photon,


why java uses class level type casting ?

0 Answers  






What is a buffer in computer?

0 Answers  


how to make hashmap object as synchronized object?

2 Answers   BOB Technologies,


How is it possible for two string objects with identical values not to be equal under the == operator?

0 Answers  


why java not supproting multiple inheritance?

5 Answers  


What is private static in java?

0 Answers  


Is math class static in java?

0 Answers  


What happens when main () method is declared as private?

0 Answers   Tech Mahindra,


Categories