What is the difference between overloading and overriding a
function?
Answer Posted / ankit
IN overloading the function are used in same class, they
have different parameters each time we define the funtion,
and perform the same task.
overriding is used in diferent class with same parameters.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why arraylist is not synchronized in java example?
What is variable length arguments in java?
What does sizeof return?
What data type is string java?
what is method reference in java 8?
What is entry set in java?
How many arguments can a method have java?
what are the disadvantages of indexes in oracle?
What is byte data type?
Which oo concept is achieved by using overloading and overriding?
Why is singleton not thread safe?
Is math class static in java?
Is hashset ordered java?
What are inner classes or non static nested classes in java?
What are the differences between graph and tree?