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 is starvation?
Explain how hashmap works?
What is an object in java and how is it created?
How do you convert bytes to character in java?
What is use of set in java?
Why java applets are more useful for intranets as compared to internet?
What are predefined functions?
What is stream api in java8?
What is a conditional equation?
What is final keyword in java?
Can you call a method on a null object?
Explain the meaning of java applet.
When should you make a function static?
What do you understand by weak reference?
What is the maximum length of a url?