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 is object in c++ wikipedia?

1011


Why is "using namespace std;" considered bad practice?

1107


Define anonymous class.

1085


What is vector pair in c++?

1236


What is the use of structure in c++?

1040


What are the four partitions in which c++ compiler divides the ram?

1237


What is prototype for that c string function?

1148


Explain virtual destructor?

1214


What are the new features that iso/ansi c++ has added to original c++ specifications?

1146


Can you please explain the difference between using macro and inline functions?

1051


Write a Program for find and replace a character in a string.

1087


Difference between inline functions and macros?

1054


What is the full form of india?

1135


Explain the benefits of proper inheritance.

1155


What are c++ tokens?

1065