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 are the differences between public, private, and
protected access?

Answer Posted / abhay

public-->inherite the protected members as preotected in
drived class and pubic members wiull be public in derived
class

protected--->pubic and protecated members of the base class
will become protected in derived class

Private-->pubilc and proteacted members will become private
in derived class

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are function pointers?

1142


What is c++ map?

1248


How does the copy constructor differ from the assignment operator (=)?

1194


Which programming language's unsatisfactory performance led to the discovery of c++?

1397


Explain terminate() function?

1107


Why do we use classes in programming?

1091


Is it possible for a member function to delete the pointer, named this?

1240


Can user-defined object be declared as static data member of another class?

1076


Is turbo c++ free?

1124


What is the difference between containment and delegation?

1399


What is the use of register keyword with the variables?

976


How would you use the functions randomize() and random()?

1135


Explain some examples of operator overloading?

1164


What is the full form of ios?

1138


What return value must conversion operators have in their declaration?

1137