Difference between overloading and overridding?

Answer Posted / ravikiran

compile time polymorhism is named as overloading,and takes
place in the same class.Should have same method name but
must have different argument list.
Runtime polymorphism is named as overriding,and takes place
in diferent classes.Must have the same signature and
argument list including the order defined in the super
class.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basics of core java?

558


What is operator overloading. Is it is supported in java?

528


What are the different types of inheritance in java?

537


What is an error in java?

645


What is the use of keywords in java?

561






What is navigable map in java?

529


What is a conditional equation?

567


Why hashcode is used in java?

505


How many types of equations are there?

550


Is hashset ordered java?

597


How to create packages in java?

537


Realized?

1666


What are the states of thread in java?

526


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1373


What are the differences between throw and throws?

534