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 is a protected class c#?
How do you define a predicate?
Is c sharp and c# are same?
What is sqlcommandbuilder c#?
What is a dll in c#?
How can we sort the elements of the array in descending order?
Is it possible to execute multiple catch block for a single try statement?
How do you use nullable?
What is the difference between finally and finalize block?
Why do we write system in c#?
What is task parallel library?
Explain lock, monitors, and mutex object in threading.
what is full assembly reference
What is ildasm and obfuscator in net?
What is data binding with example?