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 you allow a class to be inherited, but prevent the method from being over-ridden?

899


Explain About .NET Framework

869


What is hash c#?

885


Can an abstract class have a constructor c#?

857


What is dll hell, and how does .net solve it?

911


Why do we use namespace in c#?

902


What is AutoMapper in C#?

952


What is the difference between interface and abstract class in c#?

856


What is tryparse?

879


Which technology is best for desktop application?

816


What is clr in c#?

803


Can we override main method in c#?

910


Can a dictionary have duplicate keys c#?

860


what are the contents of an assembly ?

936


What is default parameter in c#?

906