What is the Difference between Overriding and overloading?

Answer Posted / sudhakar singh rajput

1-OverLoading is Resolved at COMPILE TIME.But Overridding is
resolved at RunTime.

2-OverLoaded Methods Can Change Access specifiers.in
overridding the access level of overridden method(in derived
class) must not be more restrictive than that of overridden
method(of base class)

3-Overloaded methods can declare new exceptions.But
overridden method must not throw new exceptions than those
declared by overridden method.

Is This Answer Correct ?    51 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of console application?

536


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

530


What is the difference between compiler and interpreter?

550


Name some of the features present in vb 2005?

572


What is redim keyword?

577






What are jagged arrays ?

574


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

517


Name the two main parts of .net?

523


Name some different types of control?

531


What do you mean by option strict on?

664


my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .

1559


Write a program to find all text files in a logical drive and return the count of the number of files?

2273


how to deploy vb.net with key and evaluation time? any one can help me?

1760


What is tracing?

613


What is difference between inline and code behind?

519