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 / prashanth c patel

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 ?    21 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you implement a substr() function that extracts a sub string from a given string?

1068


How do I use arrays in c++?

1022


Keyword mean in declaration?

1072


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

1198


Explain the register storage classes in c++.

1196


What is the auto keyword good for in c++?

1209


Array base access faster or pointer base access is faster?

2320


What is the main use of c++?

1140


Define the operators that can be used with a pointer.

1079


What are separators in c++?

1104


What is meant by iomanip in c++?

1240


How would perform Pattern Matching in C++?

1249


Explain the difference between new() and malloc() in c++?

1145


What is c++ used for in games?

1191


Describe the process of creation and destruction of a derived class object?

1131