How?s method overriding different from overloading?

Answers were Sorted based on User's Feedback



How?s method overriding different from overloading?..

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

How?s method overriding different from overloading?..

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

Post New Answer

More C Sharp Interview Questions

Is a c# interface the same as a c++ abstract class?

0 Answers  


Is arraylist type safe in c#?

0 Answers  


how many catch we can write in thye program?

2 Answers  


What is default method in c#?

0 Answers  


Why c# is called c sharp?

0 Answers  






What is inumerable?

0 Answers  


What is difference between an Structure and Class?

0 Answers  


How can i Spawn a Thread

0 Answers   HCL,


What is difference between continue and break in c#?

0 Answers  


which datatype i have to use we i need dynamic size.for eg. empname .in first row it have only five chars.but next row it have 100 chars.

3 Answers  


What are different properties provided by Object-oriented systems?

2 Answers  


Explain boxing and unboxing in c#?

0 Answers  


Categories