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...

What is the difference between public, private, protected
inheritance?

Answer Posted / tekle

The type or member can be accessed by any other code in the
same assembly or another assembly that references it.

private

The type or member can only be accessed by code in the same
class or struct.

protected

The type or member can only be accessed by code in the same
class or struct, or in a derived class.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are move semantics?

1092


List the special characteristics of constructor.

1136


Differentiate between structure and class in c++.

1037


Is turbo c++ free?

1025


What are put and get pointers?

1075


What do you mean by inheritance in c++?

1041


How does code-bloating occur in c++?

1146


What is a static member?

1007


What does it mean to declare a destructor as static?

1028


What is extern c++?

954


Explain friend class?

1094


What is the return value of the insertion operator?

1095


How the keyword struct is different from the keyword class in c++?

994


Why we use #include iostream in c++?

1008


What is a syntax in c++?

1121