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

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 ?    170 Yes 48 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's c++ used for?

1160


What are vectors used for in c++?

1143


What is an overflow error?

1156


What is the first name of c++?

1106


Does c++ have arraylist?

1083


What are the advantages of using friend classes?

1204


Write about a nested class and mention its use?

1166


Why is the function main() special?

1149


What is a singleton class c++?

1096


Is c++ faster than c?

1086


Describe delete operator?

1147


What are the two types of comments, and how do they differ?

1212


Why is c++ difficult?

1112


What are structs in c++?

1087


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1949