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

Who invented turbo c++?

1028


Why c++ is the best language?

1017


Will rust take over c++?

1022


What is array in c++ pdf?

1112


Define a constructor - what it is and how it might be called (2 methods)?

1082


What is ios flag in c++?

1144


What is the use of function pointer?

986


What is a container class?

1073


Define whitespace in C++.

1154


Is java the same as c++?

953


How do we implement inheritance in c++?

1090


What is jump statement in C++?

1074


Write bites in Turbo c++ Header ("Include") Files.

1216


Should you pass exceptions by value or by reference?

1099


What operator is used to access a struct through a pointer a) >> b) -> c) *

1069