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
What is scaffolding in c#?
What are the differences between static, public and void in c#?
What is class sortedlist underneath?
How big is int16?
Can you prevent a class from being instantiated?
Why delegates are type safe?
What is generic collection in c#?
What are circular references? How garbage collection deals with circular references.
What is Fragmentation and its Types?
What are primitive types in c#?
What is the name of c# compiler?
What is the difference between writeline and write in c#?
Are tuples mutable c#?
What is .cs file in c#?
What is the meaning of console writeline in c#?