Explain access privileges, C/C++ Programming

Assignment Help:

Access privileges

1. If the designer of the base class needs no one, not even a derived class to access a member, then that member should be made private.

2. If the designer wants any derived class function to have access to it, then that member must be protected.

3. if the designer needs to let everyone , including the instances, have access to that member , then that member should be made public .

 


Related Discussions:- Explain access privileges

Recursion, Given a string, print all possible palindromic partitions using ...

Given a string, print all possible palindromic partitions using recursion

Decode the code, c++ coding decode the letters from numbers

c++ coding decode the letters from numbers

UltimateCarRadio Project, In this assignment, you will be modifying your As...

In this assignment, you will be modifying your Assign-05 code to use more inheritance. As well, in this assignment, you will be asked to use newand delete, throw and catch except

Assigment, Hi is there any chance to get assignment for fresher tutor

Hi is there any chance to get assignment for fresher tutor

Described the order that objects in an array is destructed?, Described the ...

Described the order that objects in an array is destructed?

# Bank Account class, Write a C++ program to test the Bank Account class fo...

Write a C++ program to test the Bank Account class for 10 customers.

Why php is sometimes called as embedded scripting language, Why PHP is some...

Why PHP is sometimes called as embedded scripting language? PHP is a high level language that is used to allow users to write and understand it in human readable form and also

Integer variable, how do you declare an integer variable

how do you declare an integer variable

Largest clique, find largest clique present in graph

find largest clique present in graph

Find and print the oldest and the youngest employee, Draw a flowchart ...

Draw a flowchart for a program that allows the user to enter 20 names along with their ages and their Social Security Numbers in three parallel arrays. Programs shou

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd