Distinguish method overloading and overriding
Answers were Sorted based on User's Feedback
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 |
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 |
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?
use of wrapper classes?
what is use of session tracking ?with example?
why java uses class level type casting ?
What is a buffer in computer?
how to make hashmap object as synchronized object?
How is it possible for two string objects with identical values not to be equal under the == operator?
why java not supproting multiple inheritance?
What is private static in java?
Is math class static in java?
What happens when main () method is declared as private?