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
Explain the difference between vb.net and c#, related to oops concepts?
Can we use Vb.Net and C# language simultaneously in one .Net application?
What are the advantages of vb.net and c#?
Explain about rapid application development tool?
Can you please explain the difference between namespace and assembly?
How vb implements the disconnected architecture as like vb.net?
What is the difference between custom control and user control?
So you know which dll is used for microsoft .net run time?
How many languages are supported by .net?
What is difference between inline and code behind?
Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate
What is the differences between dataset.clone and dataset.copy?
What is the main use of a namespace?
How do you use two datareaders at the same time in a vb.net windows application ?
Explain some of the exclusive features which are present in vb?