what is overloading & overriding
Answer Posted / ashish
Overloading is a concept in OOPS where we have a similar
methods of same name but diferent signature.The return type
may be same or different but the signature has to be
different.It is an example of static polymorphism.
Overriding is a conecpt where we have the same method
(signature and return type) both is child class and parent
class. Now why we have the same method ? You will have that
thing happen when you want to add more funtionalities to a
method corresponding to your child class. This is an
example of runtime polymorphism
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain the term inheritance in C#.
What is the use of nullable types in c#?
What is c sharp language?
Can you have an array of arrays?
What is deferred execution in c#?
Is a valid int value?
What are the Types of values mode can hold session state in web.config
How many bytes is an int?
What are jagged arrays used for?
What are the 3 types of comments in c#?
How do you serialize in c#?
What is constructor overloading in c#?
What is console readkey ()?
Can abstract class have constructor c#?
What is the Signification of the "new " keyword in C#? example