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 do you mean by stack unwinding in c++?

1290


What do you mean by delegate? Can a user retain delegates?

996


Why is c++ awesome?

1085


What is the difference between the parameter to a template and the parameter to a function?

1166


What is the difference between the compiler and the preprocessor?

1169


What new()is different from malloc()?

1162


What is private public protected in c++?

1094


How can virtual functions in c++ be implemented?

1200


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1591


What is flag in computer?

1117


How important is c++?

1034


What is a dynamic binding in c++?

1004


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3512


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1141


What is the meaning of string in c++?

1110