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

how to sort an array in c#

0 Answers   Cognizant,


Explain About ADO and its objects

0 Answers   DELL,


What is the difference between add and addrange in c#?

0 Answers  


Define constructors

0 Answers  


How to store image file in Sql server database?

4 Answers   Unique Software Systems,


Is predicate a functional interface?

0 Answers  


How many digits are in an integer?

0 Answers  


What is string concatenation?

0 Answers  


Explain static class members.

0 Answers  


What is a method signature?

0 Answers  


What is a HashCode?

1 Answers  


Explain how do I convert a string to an int in c#?

0 Answers  


Categories