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
Buddy systems : A method of handling the storage management problem is kept individual free lists for blocks of dissimilar sizes. Every list having free blocks of only one particul

Change the matrix program (program 3) slightly. Overload == operator to compare two matrices to be added or subtracted. i.e., whether the column of first and the row of second

Differentiate between functions getch () and getche (). - Both functions accept a character input value from user. - When getch () is used, key that was pressed won't appear

Define a complex number in c program: class complex                                 {                                   private:                                 in

Implement multiple stacks in a single dimensional array using c.

what is virtual datatype

Primarily the term alignment refers the tendency of an address pointer value to be a multiple of some power of two. Thus a pointer with two byte alignment contains a zero in the le

Develop Online Slot Video Game for Facebook Prepare an online slot video game for a Facebook promotion in order to draw new visits and Increase the number of "likes" of the Face

Question: a) Give two uses of NFS. b) Give one advantage of using NFS. c) Explain the following lines as they would be interpreted in the /etc/exports file i. /usr/local

Each function has its own stack frame between %fp and %sp. Let Caller calls Callee. Then Caller's %sp becomes callee's %fp, and callee's %sp set to be a new value (a smaller one be