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 are strings immutable in c#?
Why References are stored on heap and variables on stack?
How do you comment out code in c#?
Name some properties of thread class.
What is a protected class in c#?
Explain About .NET Remoting and types of remoting
Explain how to add controls dynamically to the form using c#.net.
What is a base class in C#?
What is difference between out and ref in c#?
What is different about switch statements in c#?
How do I simulate optional parameters to com calls?
What is the difference between console and windows application?
If multiple interfaces are inherited and they have conflicting method names; What will happen ?
what is the meaning of Object lifetime in OOPS
Is string nullable c#?