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 enumerator?

524


What is public assembly?

568


What are the features of c# which are not present in vb.net?

656


Define serialization in .net?

639


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?

2557






What is the difference between import system.data.sqlclient and system.data.oledb?

510


Compare c# and visual basic.net?

552


Explain the services provided by common language infrastructure.

722


What is difference between import system.data.sqlclient,system.data.oledb?

560


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

460


Explain strong name in .net assembly?

527


What is redim keyword and its use?

586


What are the various open source tool available for VB.NET?

564


What is the difference between custom control and user control?

552


What would you do to remove microsoft visual basic name space?

512