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 |
Why is the main method declared static?
What is a numeric format?
What is an abstract method in java programming?
What is a copy constructor in java?
How to check if a list is sorted in java?
What is the smallest package in Java API?
What is the difference between static and non-static variables?
Why is inheritance used in java?
What do you mean by collectors in java 8?
Can you pass functions in java?
What is HashTable?
How to decrease number of hashings in has