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 ?

Answers were Sorted based on User's Feedback



If we inherit a class do the private variables also get inherited ?..

Answer / rathika

It will be inherited but cannot be accessible.

Is This Answer Correct ?    12 Yes 1 No

If we inherit a class do the private variables also get inherited ?..

Answer / kishore.a

Private variables are not inherited. Access specifier
Private is mainly mean for the inheritance concept so that
derived classes cannot inherit the private members of base
class..

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More C Sharp Interview Questions

What is scaffolding in c#?

0 Answers  


How does foreach loop work in c#?

0 Answers  


Can a class be protected in c#?

0 Answers  


Is array a collection c#?

0 Answers  


what is meant inheritance. can you exaplain what kind inhertance ussed in your project

1 Answers  


What is an assembly qualified name? Is it a filename? How is it different?

0 Answers  


What is the difference between do and while loop?

0 Answers  


the c# keyword .int. Maps to which .net type?

0 Answers   Siebel Systems,


What is the use of ienumerable in c#?

0 Answers  


What is the advantage of generics in c#?

0 Answers  


What are delegates in C#?

0 Answers   Winsol Solutions,


If a child class instance is created, which class constructor is called first - base class or child class?

0 Answers  


Categories