What is the Difference between Overriding and overloading?

Answer Posted / lakshmi prabha

OverLoading : All the method will share the same name but
it differes based on the parameter, type of parameter and
number of parameter

Overriding : The method in the derived class the has the
same name in the base class and it changes the behaviour or
functionality of the method in the base class.

Is This Answer Correct ?    250 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the observations between vb.net and vc#.net?

682


Explain how the .net framework performs automatic memory management.

756


How many classes a dll can contain?

740


Explain the differences between vb.net and c#, related to oops concepts?

705


What do you understand by vb.net?

811


How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?

812


Explain how to achieve polymorphism in vb.net?

712


Explain the components of common language runtime.

756


Which is the tool which can convert visual basic old version to .net compatibility version?

706


What is strong name in .net assembly?

710


Can you please explain the difference between c# and vb.net?

786


What are the shadow variables?

795


How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?

2750


Explain cts?

732


What are the difference between structure and class?

762