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
What is the difference between an integer and int?
What is Named parameter in C#?
Is c# used for frontend or backend?
What does mean c#?
What is thread pooling?
What do you mean by streamreader/streamwriter class in c#?
What is the property of class?
What is datagrid c#?
how to sort an array in c#
How big is an int in c#?
What is the meaning of int parse in c#?
How do you prevent a class from being inherited?
What is the use of oops in c#?
Give 2 scenarios where static constructors can be used?
What is dataset c#?