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 three types of access specifiers in C++?

Answer Posted / nashiinformaticssolutions

1. Public: Every student in the class is reachable from anywhere within the application.
2. Private: Only member functions within the class have access to class members.
3. Protected: Any subclass of the class or the member functions within the class can access class members.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Using a smart pointer can we iterate through a container?

1022


How is c++ different from java?

995


Why is c++ is better than c?

908


Write about the role of c++ in the tradeoff of safety vs. Usability?

1005


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1443


What is the difference between structure and class?

1159


What flag means?

892


What do you understand by a pure virtual member function?

939


Explain what is polymorphism in c++?

1081


Tell me can a pure virtual function have an implementation?

966


Can java be faster than c++?

1107


Can constructor be private in c++?

979


what is oops and list its features in c++?

994


Explain how we implement exception handling in c++?

1007


What is a container class? What are the types of container classes in c++?

1152