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
What does ide stand for?
Why is stringbuffer thread safe?
Are arrays immutable in java?
What is the use of string and stringbuffer?
What are the advantages of inner classes?
Why java is call by value?
What is command line argument in java?
What is argument in java?
What is the purpose of the return statement?
What is reverse function?
How does indexof work?
Is integer passed by reference in java?
What is the major advantage of external iteration over internal iteration?
What is treeset and treemap in java?
What does three dots mean in java?