Described access privileges in c++? what is the default , C/C++ Programming

A: In C++ the access privileges are public, private and protected. The default access level assigned to members of a class is private. Private members of any class are accessible only in the class & by friends of the class. Protected members are accessible through the class itself and it's sub-classes. Public members of any class can be accessed through anyone.

 

Posted Date: 3/20/2013 3:40:05 AM | Location : United States







Related Discussions:- Described access privileges in c++? what is the default , Assignment Help, Ask Question on Described access privileges in c++? what is the default , Get Answer, Expert's Help, Described access privileges in c++? what is the default Discussions

Write discussion on Described access privileges in c++? what is the default
Your posts are moderated
Related Questions
Described the order that objects in an array is destructed?

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop

Develop Diablo 2 LOD 1.13d Dupe Method for Closed Battle.net This hack is for diablo 2 lord of destruction The program must work on all realms, all cores, all ladders (4x rea

Design and implement a library system that does the following: ? Takes details of a student/library users: first name, last name, other names, user ID number, and nationality. Th



padovan string program 1 : package test.padovanstring; public class PadovanString {     public int stringOccurrences(int n, String str){        if(n >= 40)     return -


program that convert take decimal digit and convert it to binart digit