How?s method overriding different from overloading?

Answer Posted / guest

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 ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Delegate and what is it used for ?

787


What is dependency injection in simple words?

710


What are constants in c#?

755


What is type safe in c#?

669


We cannot create instances of static classes. Can we have constructors for static classes?

730


Distinguish between a class and struct?

707


Why delegates are required?

718


Name some properties of thread class.

777


Are arrays value types or reference types?

728


How to implement a singleton design pattern in c#?

658


What is class method c#?

677


How do namespaces work?

734


Explain about Oops concept

728


Can enum have methods c#?

664


What is a singleton unity?

763