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
What is volatile keyword in java
What is the difference between a local variable and an instance variable?
Can a java program have 2 main methods?
What is close method? How it's different from Finalize & Dispose?
What are the properties of thread?
how to handle exceptions in ejb?
What is compiler and what its output.
How do you compare objects in java?
Can we override tostring method in java?
What is unicode full form?
What is the use of protected in java?
What do you mean by platform independence?
What is the maximum size of a string in java?
What is a default constraint?
What is boolean logic?