Can we have the method in drived class with the same name
which is there in base class?
Answer Posted / alcheringa
yes we can have that. in order to invoke the method of the
same name we use base keyword before the method name.
if the method in the base class is virtual, which is the
case in most of the abstract classes we actually override
the method in the derived class.
it is therefore not a constraint in any way.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What are data types with examples?
What is a int in c#?
What is dataview c#?
What are the main reasons to use c# language?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
Why ienumerable is used in c#?
What is a hash table c#?
How do we achieve encapsulation in c#?
Explain how many types of exception handlers are there in .net?
What is the difference between package and interface?
Explain the difference between abstract class and interface in .net?
Are there functions in c#?
What are circular references?
What are strongly typed objects?
What's your approach to fetch static data in your windows form application?