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
How listener identify that the event came from a particular object?
What is tostring () method?
What is difference between path and classpath in java?
Does java support Operator Overloading?
How hashmap increases its size in java?
Is a boolean variable?
What is difference between static class and normal class?
Can we use a switch statement with strings?
What is variable argument in java?
please send me hr interview questions in it industry
what is meant by Garbage collection?
what is recursion in java
What environment variables are required to be set on a machine in order to run Java programs?
Is null an object in java?
What data type is true or false?