If I want to override a method 1 of class A and in class b
then how do you declare ?

Answer Posted / ashwini c havan

we can override the parent class method under its child
class only when the parent class declared the method as
virtual and abstract..............

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Types of assemblies that can be created in dotnet

582


Which config file has all the supported channels/protocol?

552


What is the difference between writeline and write in c#?

427


Explain about Destructor method?

549


What is generic delegates in c#?

529






Is php better than c#?

497


What is string [] args in c#?

545


Does c# have a 'throws' clause?

581


4. Describe the process when we send a request URL? And who is responsible for that?

1489


What is firstordefault c#?

543


Explain the various types of classes used in c#?

504


Distinguish between the Debug class and Trace class with its functionality?

534


What is the use of console readkey ()?

488


What is a dimensional array?

464


What is hashmap in c#?

480