How?s method overriding different from overloading?
Answer Posted / chinju
overriding is used for redefining a method in diferent ways.
overloading depends on the method signature not prototype.
method signature
1.no: of parameters or type of parameters or sequance of
parameter
not the return type
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is Facebook a desktop application?
Why do we need dependency injection in c#?
Can an abstract class inherit from another abstract class c#?
What is assembly manifest?
What are native functions?
Explain the ways to deploy an assembly?
What is a factory in c#?
How do you inherit a class into other class in c#?
Why objects are stored in heap in c#?
Can you store different types in an array in c#?
What are nested classes in c#?
What is difference between int and int in c#?
What are custom exceptions in C#?
Can constructor be overloaded in c#?
How can you achieve run time polymorphism in C#?