what is overloading & overriding
Answer Posted / vishal shah
Overloading is simply the 2 or more than two functions with
different signatures.
Overriding is related with Polymorphism, where virtual
function declared in base class is override in the derived
class with the same name. And compiler during runtime
decide which function to be called based on the object
(Base Class or Derived Class) used to call this function.
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Why do we use stringbuilder in c#?
What is the use of xmlserializer?
What is the use of ienumerable?
Why it's said that writing into .NET Application Configuration Files is a Bad Idea?
In .Net, what is an assembly? Also explain the type of assembly.
Why is main static in c#?
What is a jagged array?
Can you inherit multiple classes in c#?
Can a class or a struct have multiple constructors?
Can properties be overloaded in c#?
What does console readline do in c#?
Define parsing? Explain how to parse a datetime string?
List down the differences between “dispose” and “finalize” methods in c#.
How do I declare a pure virtual function in c#?
What is array collection?