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 we inherit a class do the private variables also get
inherited ?

Answer Posted / ganni

yes they are inherited, but cannot be accessible. for
that we need to use properties concept.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the difference between a method and a procedure?

913


What is difference between iqueryable and ienumerable in c#?

823


Is cli same as the clr?

845


What is the difference between inheritance and abstract class?

838


Is there any sample c# code for simple threading?

874


Can a struct inherit from an interface in c#?

964


how can one use hcl and c sharp together?

2006


Difference between directcast and ctype.

958


What are the advantages of using delegates in c#?

863


Explain About .NET Remoting and types of remoting

1021


What does dbml stand for?

948


What is icollection in c#?

856


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

894


How can you use abstract class and interface?

1069


What does it mean to override a method?

900