What is the difference between overloading and overriding a
function?
Answer Posted / suganthi
Over Loading : when two or methods share the same name but
paramater declaration are diffierent with in a class.
(ex:Compile time polymorpism)
Over ridding: when two or methods share the same name but
paramater declaration are also same in different classes.
(ex:run time polymorpism)
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What is the meaning of 3 dots in java?
Is java jre still free?
Why java is not 100% object-oriented?
Can private method static?
What technique can be employed to compare two strings?
What exceptions occur during serialization?
What Is Query Throttling in java?
What isan abstract class and when do you use it?
What is the difference between stored procedure & function?
What is double checked locking in singleton?
Is it possible for a yielded thread to get chance for its execution again?
Explain throw keyword in java?
Which one of the following suits the description of a string better: derived or primitive?
What do you mean by object?
What is methodological theory?