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
Write a program to solve producer consumer problem in java?
Is object a data type in java?
What is use of set in java?
Write a program to print all permutations of string?
What is difference between local variable and global variable?
What is dynamic binding(late binding)?
How do you sort in descending order in java using collections sort?
What is keyword in oop?
What is hashmap and map?
Differentiate between class and structure.
What is meant by 'bit masking' in java?
What is the collections api?
What is the applet security manager, and what does it provide?
what is static import in java? Explain
What is temp in java?