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
2. What happened when BO object has been called?
What is the use of dll file in c#?
What is a bool in c#?
What is a three-tier application.
What is firstordefault c#?
Can we instantiate abstract class in c#?
Who benefits from ajax?
How the versioning applies to Assemblies or can you explain version numbers?
What is var c#?
Is constructor a static method?
List down the different ide’s provided by microsoft for c# development.
What is parsing?
What are the 2 types of data types available in c#?
What is uint c#?
Explain the steps to create satellite assembly?