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

Describe public access specifiers?

1166


What is the use of class in c++?

1125


What is flag in computer?

1119


What is the difference between a reference and a pointer?

1184


Does there exist any other function which can be used to convert an integer or a float to a string?

1135


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1136


Who discovered c++?

1105


Write is a binary search tree? Write an algo and tell complexity?

1076


What is the use of data hiding?

1069


Explain rethrowing exceptions with an example?

1079


Why is c++ awesome?

1087


Write a program to find the Fibonacci series recursively.

1122


Why c++ is called oop?

1179


Specify some guidelines that should be followed while overloading operators?

1269


What is srand c++?

1175