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

What is the strong name in .net assembly?

566


What is the difference between datagrid and gridview?

513


How vb implements the disconnected architecture as like vb.net?

581


What are the two main parts of .net?

565


What is the difference between Namespace and Assembly?

579






What is strong name in .net assembly?

529


What is an arraylist?

581


Can you please explain the difference between int and int32?

560


How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently

1995


What is different between web.config and machine.config and where it will be ?

556


What do you mean by serialization and deserialization and it's use.

602


What is intermediate langauge?

534


What are the features present in vb 2005?

568


Explain the difference between .dll extension and .exe extension files?

522


How would you implement inheritance using vb.net?

510