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 c++ access specifiers?

Answer Posted / hrpynux@gmail.com

In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What jobs can you get with a c++ certification?

1034


What is the use of dot in c++?

1074


Explain "const" reference arguments in function?

1038


Write about the members that a derived class can add?

959


What is the difference between a pointer and a link in c ++?

1044


Which is the best c++ compiler for beginners?

1076


Differentiate between a template class and class template in c++?

1081


What is a float in c++?

974


Which of the following is evaluated first: a) && b) || c) !

2349


What is a unnitialised pointer?

1056


How to access a variable of the structure?

1067


Define copy constructor.

1086


How much maximum can you allocate in a single call to malloc()?

1099


Why is c++ not purely object oriented?

993


Is c++ double?

1021