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
Can we catch more than one exception in single catch block?
Does java allow overriding static methods ?
Is java a compiler?
What does method mean?
What is the purpose of declaring a variable as final?
what is meant by Garbage collection?
Can we sort a map in java?
Is there any difference between nested classes and inner classes?
What is a nested structure?
What is linked hashset and its features?
Is integer passed by reference in java?
What is the size of integer?
How do you sort in ascending order in java?
What are the types of java?
Why is inheritance used in java?