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
How many types of inheritance are there in c#?
What is console based application?
Can extension methods access private members?
What is c# windows form application?
How can I make sure my c# classes will interoperate with other .net languages?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
What is encapsulation in csharp?
Is static thread safe?
Is c sharp free?
Name the connections does microsoft sql server support?
What is delegates in c#?
What is null in database?
How can I access the registry from c# code?
What is meant by desktop application?
Explain states of a thread in c#?