explain about method overloading and method overriding with
difficult examples
Answer Posted / andrea
overloading
two or more methods will have same name but different
arguments. it will be in same class.
overriding
two or more methods will have same name and same
number of arguments but in different classes
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
How does the garbage collector works in java?
What will happen to the exception object after exception handling?
What is predicate in java?
Is space a character in java?
What is unicode in java?
Why is inheritance used in java?
What is default constructors?
What are the important features of Java 10 release?
Are global variables initialized to zero?
Is there a jre for java 11?
What are the new features in java 8?
What is the gregoriancalendar class in java programming?
What is string made of?
In java, how we can disallow serialization of variables?
What is runtime locatable code?