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 |
What is method in java with example?
How do you check if a character in a string is a digit or letter?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
java is fullu object oriented or pure? why?
Garbage collection in java?
Explain the reason behind ending a program with a system.exit(0)?
What is thin driver and thick driver. why it is called so?
What types of inheritance does Java support?
What is extension method in java?
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
What is json parser in java?
What are different types of states exist for a thread?