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
Is array dynamic in java?
Write the algorithm to check the number non-leaf nodes in a tree.
What is the maximum length of a url?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What are the advantages of defining packages in java?
Why main method is called first in java?
Difference between method overloading and overriding.
What is the use of parse function in java?
What does java ide mean?
What are the main features of java?
What are the differences between c++ and java?
Name few "optional" classes introduced with java 8 ?
Discuss about garbage collector in Java.
Define nashorn in java8.