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
Can bool be null c#?
What does string format do?
What is the difference between static class and singleton class in c#?
What is class method?
What is difference between property and variable in c#?
Can we override interface methods in c#?
What is type keyword in c#?
What does static mean in c sharp?
What is the use of tuple in c#?
Define clr in .net?
Can you have more than one namespace in c#?
List out two different types of errors in c#?
What is the default value of singleordefault?
What is a streamwriter in c#?
How many types of methods are there in c#?