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 a web service in c#?

1146


What is int32?

906


How do you pronounce c#?

900


What is a dynamic assembly?

960


How does inheritance work in c#?

1120


In which way a two-dimensional array declared in C#?

913


What is a private method in c#?

1044


What is JIT (just in time)? how it works?

1005


Which are access modifiers available in c#?

952


Is visual c# free?

914


Which .gang of four. Design pattern is shown below?

921


What is the difference between inheritance and abstract class?

886


What type of data type conversion happens when the compiler encounters the following code?

933


What do u meant by "SBI" of an object?

993


Do loops in c#?

899