How?s method overriding different from overloading?
Answers were Sorted based on User's Feedback
Answer / nitin kumar tomar
Overriding : different methods with the same name but
different Implimentation
Overloading : Several Methods with different signature but
the same name
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
When overriding, you change the method behavior for a
derived class. Overloading simply involves having a method
with the same name within the class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / chinju
overriding is used for redefining a method in diferent ways.
overloading depends on the method signature not prototype.
method signature
1.no: of parameters or type of parameters or sequance of
parameter
not the return type
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a method signature c#?
difference between managed code and unmanaged code ?
What is the namespace for datatable in c#?
i have a table named login in mysql database containing (empid,fname,lname,mobno,emailid,usrname,usrpwd) i have 2 textboxes in which i enter my username and pwd..so based on what is entered in those textboxes it should retreive all other details of dat username in the remaining 6 textboxes..i want the code for this...
Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?
Explain the OOPS concept in C#?
Which function is the entry point for a DLL in MS Windows 3.1?
What are different properties provided by Object-oriented systems?
Define xslt.
Is versioning applicable to private assemblies?
What is private static in c#?
What is the difference between malloc () and new?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)