What does this mean that "friendship isn''t transitive, C/C++ Programming

What does this mean that "friendship isn't transitive, inherited or reciprocal"?

A: As I grant you friendship access to me doesn't grant your kids automatically access to me, doesn't grant your friends automatically access to me, and doesn't grant me automatically access to you.

 

I don't essentially trust the kids of my friends. The privileges of friendship aren't inherited. Derived classes of a friend aren't essentially friends. If class Fred declares which class Base is a friend, classes derived from Base don't contain any automatic special access rights to Fred objects.

I don't essentially trust the friends of mine friends. The privileges of friendship aren't transitive. A friend of a friend isn't essentially a friend. If class Fred declares class Wilma such as a friend, and class Wilma declares class Betty such as a friend, class Betty doesn't essentially have any special access rights to Fred objects.

You don't essentially trust me simply since I declare you my friend. The privileges of friendship aren't reciprocal. If class Fred declares which class Wilma is a friend, Wilma objects contain special access to Fred objects however Fred objects do not have special access to Wilma objects automatically.

 

Posted Date: 3/20/2013 4:06:47 AM | Location : United States







Related Discussions:- What does this mean that "friendship isn''t transitive, Assignment Help, Ask Question on What does this mean that "friendship isn''t transitive, Get Answer, Expert's Help, What does this mean that "friendship isn''t transitive Discussions

Write discussion on What does this mean that "friendship isn''t transitive
Your posts are moderated
Related Questions
minimum total number of shelves.

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


write a program in c language to implement stacks in a single array

Problem : (a) Stacks can be implemented using arrays. Write down the following C or C++ function to (i) create a stack (ii) add an element to a stack (push). (b) Expl

I want Packet capture analysis Project Description: Need assistance in debugging some packet capture Skills required is C Programming

Define The Return Statement in Computer Programming? The return statement is used for two purposes once the return statement is executed the program control will be immediately

A: No.       While realloc() need to copy the allocation, this uses a bitwise copy operation, that will tear several C++ objects to shreds. C++ objects must be allowed to copy t

C program to demonstrate Pointer to variable: void p2a(int *); void main() {                 int x=10, *a,**b;                 int arr[5];                 //poin

Define the Double Data Type of c Language? The double is used to define BIG floating point numbers and it reserves twice the storage for the number. When the accuracy provided