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 a JAR file?
What is a numeric literal?
List the interfaces which extends collection interface?
What are the elements of java?
Why strings in java are called as immutable?
What is an class?
What is prefix of a string?
Difference between final and effectively final ?
What is an empirical question?
What is anagram of a string?
What is boolean logic?
Is java ee a framework?
What are java threads?
Can we change the value of static variable?
Can static method access instance variables ?