answersLogoWhite

0

well, after school, be sure to make plans with that friend so that you can still see eachoter.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is Friend class How is it different from Abstract class?

Friend class is one which has been declared so (as a friend) inside other class to make it access the private members of the class which has extended it's friendship.For Example,class A{private:.......public:..............friend class B;};class B{.....................};As in the above code snippet, class A has extended it's friendship to class B by declaring B as it's friend inside it's area.Since the Class B has became a friend of A, B can directly access all the private members of A. But the reverse is not possible.Where as an abstract class is a one, which doesn't represent any particular object in nature. Instead they use give as abstract look of an object.For instance,When we say TATA Indca, Lancer, Ford Icon, Toyota Innova they are different car models. Each of them having their own properties and features, but all of them are Cars. So here, Car is an abstract class where as the others are concrete classes.


What is friend datatype in object-oriented programming?

A friend is any class, class method or function that is declared to be a friend of a class. Friends have private access to the classes that declare them friends.


Is it possible to restrict a friend class's access to the private data member?

No. De-friend the friend class and provide an access method function.


What do you do when your best friend is placed in a different class and becomes best friends with someone else?

try to become friends with that person that your best friend is friends with. MAybe you can become a trio.


When a function needs to operate on private data in two objects of different classes it can be declared a friend of either class true or false?

False. it must be declared a friend of both classes.


What is the latent function of friends?

The only function of a friend is to extend the private class interface outwith the class, essentially making the friend part of the class interface.


Can a friend function be friend with more than one class?

yes


Is this a friend who talks to you in class?

yeah


Who is on Justin's friend list in his class?

yes Justin biber as friends in his class


What is friend constructor?

A friend constructor is a constructor that is declared a friend of another class and that grants that constructor private access to the class in which it is declared a friend. Example: class Y { friend char* X::foo (int); // friend function friend X::X (char); // constructors can be friends friend X::~X(); // destructors can be friends }; For more information, see '11.3 Friends' in the current ISO C++ Standard.


When was Different Class created?

Different Class was created in 1994.


How do you call a member function of one class in another class using friend function?

class B; // forward declaration. class A { private: void myFunction(B b){b.myFunction();} // Calls private method in b. }; class B { friend void A::myFunction(B b); // Friend function declaration. private: void MyFunction(); };