What are Advatages of Overloading and Overridding.
Answer Posted / pooja srivastava
Overloading means same functions but different arguments..
so with overloading we can take new action with diff
parameters..
Overriding means same methods with same argument and same
prototype...
so with overriding we can create new definatin in subclass
with same method name and prototype..
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
Convert Binary tree to linked list.
List the different types of classloaders in java.
What is the benefit of abstract class?
Explain access modifiers in java.
What does yield method of the thread class do?
Can we force garbage collector to run ?
Can you access non static variable in static context?
Is java util list serializable?
How do you convert boolean to boolean?
What are basic data types?
What is the same as procedures?
What does || mean in code?
Differentiate between nested and inner class in java.
What do you mean by of string::valueof expression in java 8?
Do we need to manually write Copy Constructor?