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 / vivek kumar kaushal

Public: this is member function of its own and anyother
class.
Private: Class member access within its class.
Protected:this is member function to its own and derived
class.

Is This Answer Correct ?    34 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where and why do I have to put the "template" and "typename" keywords?

1097


Is c++ a good beginners programming language?

1125


Is java easier than c++?

1075


What is the full form nasa?

1184


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

1238


When you overload member functions, in what ways must they differ?

1105


What is decltype c++?

1042


What does int * mean in c++?

1280


Explain Memory Allocation in C/C++ ?

1115


How do you differentiate between overloading the prefix and postfix increments?

1139


What are static member functions?

1158


What is the default access level?

1120


Can you declare an array without a size in c++?

1065


Which bit wise operator is suitable for checking whether a particular bit is on or off?

1083


What is increment operator in c++?

1059