What is the Difference between Overriding and overloading?

Answer Posted / omar

overriding: it just in inheritance and the overriding
method must hold the same name and the same signatures .
the change maybe just in behavior .

overloading : maybe in inheritance or in other way but must
to do overloading must the method hold the same name and
must change signatures.
remark:we can not only change th return type.

Is This Answer Correct ?    35 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

541


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

521


Explain how to store decimal data in .net?

713


What are the different types of applications supported in .net (or) .net framework?

517


What is the role of new keyword?

628






Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.

2043


Explain convert.tostring and i.tostring method?

529


Explain jit?

548


Explain manifest?

502


What is the strong name in .net assembly?

566


What is break mode? What are the options to step through code?

549


Define naming convention?

627


What is the Advantage of vb.net over vb

568


What is early binding?

527


i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

1916