Friend class: –

Friend class: - It is also possible to make an entire class as friend class to access the private member another class. As we know that friend is not sharable so suppose we have two classes class A and class B. if class A is friend of class B then class B will not be... Continue Reading →

Advertisements

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: