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 / javed khan

No, We cant inherit private member of base class. We got
error like " member is inaccessible due to its protection
level."

Is This Answer Correct ?    7 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between proc. Sent by val and by sub?

911


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

872


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

911


What is an icollection in c#?

825


How do I start a program in c#?

923


What does string format do?

825


What does a constructor do c#?

868


What are c# types?

958


What is desktop example?

871


What are the benefits of using the aggregate method in linq?

932


What is the purpose of a namespace?

811


What is xml serialization in c#?

815


What is the purpose of escape sequence?

967


Can a constructor have a return type?

817


What is a cshtml file?

984