How?s method overriding different from overloading?
Answers were Sorted based on User's Feedback
Answer / venu gopal
When overriding, you change the method behavior for a
derived class. Overloading simply involves having a method
with the same name within the class.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / maria jerom
Method overloading means same method name but different
parameters. Method overriding means same method name and
parameters also same. In method overloading method will
differentiate with parameters name and in method overriding
method will differentiate with method signature
Is This Answer Correct ? | 3 Yes | 1 No |
What are floating point numbers?
Where is the output of TextWriterTraceListener redirected?
Define c# i/o classes?
Define acid rule of thumb for transactions in c#.
What is the difference between integer and double?
Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve ?
Does main have to be static c#?
Which collection will you use to store different types of objects collection like... int, employee, student, object etc.
1. What is lazy loading? 2. What is delay signing? 3. How to transfer view object to presenter in MVP? 4. How to create a generic class? 5. What is Ajax object? 6. What is explicit interface implementation? 7. I1, I2 interfaces have same methods (say PrintName) explicitly implemented in class C1. Now how to call PrintName method from I1? 8. I have a list of Customers. List the customer with maximum orders using LINQ.
Is it possible to implement an interface to a structure? Is it possible to extend a struct? Is it possible to inherit a class to struct?
9 Answers IBM, Logica CMG, TCS,
What is encapsulation in csharp?
How do you mark a method obsolete?