Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can a sealed class be used as a base class?

968


Can you create sealed abstract class in c#?

890


How to use exception handling in stored procedure?

1035


How can I develop an application that automatically updates itself from the web?

907


Why is hashset faster?

988


Can you pass parameters to destructors?

1053


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

1051


What is class method?

976


what is an event? Define delegate?

984


Explain the process of abstraction with an example?

946


Why is xml called extensible?

878


Why cannot you specify the accessibility modifier for methods inside the interface?

921


What is a boolean c#?

892


What is managed code?

1048


What is string interpolation in c#?

965