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 / priya

public: class members are access from the outside the class
private: class members can access only within the class
protected:class members can access inside the same package

Is This Answer Correct ?    104 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ iterator?

1073


How the virtual functions maintain the call up?

1106


How to demonstrate the use of a variable?

1066


What is the difference between mutex and binary semaphore?

1135


Can a program run without main in c++?

1147


Explain deep copy?

1005


Why the usage of pointers in C++ is not recommended ?

1374


How should runtime errors be handled in c++?

1103


write a porgram in c++ that reads an integer and print the biggest digit in the number

2213


What does new do in c++?

1032


What are the important differences between c++ and java?

1106


What is the history of c++?

1018


Difference between a copy constructor and an assignment operator.

958


what does the following statement mean? int (*a)[4]

1037


How do you compile the source code with your compiler?

1021