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

Explain the use of new keyword?

728


What is early binding?

688


Explain how to store decimal data in .net?

914


Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.

3305


Using VB, how can you change the Mouse Pointer?

849


What is meant by jagged arrays?

758


What are the features present in vb 2005?

744


What are the different types of Lock available in Visual Basic?

841


What is the differences between dataset.clone and dataset.copy?

838


What is branching logic control in VB.NET?

735


How can we remove handlers at run time?

786


Name some different types of control?

736


Why should you use delegate?

663


i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?

2441


What is misl code?

751