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 are peerless components in java programming?
Explain when classnotfoundexception will be raised ?
What do you mean by collectors in java 8?
What are the data types supported by java? What is autoboxing and unboxing?
What are features of java?
Is jdk required on each machine to run a java program?
Can a static class have a constructor?
What is constructor chaining and how is it achieved in java?
How do you create immutable object in java?
What are the object and class classes used for?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is the purpose of assert keyword used in jdk1.4.x?
What is java util list?
What is a conditional equation?
When parseint method can be used?