what are the benefits of using friend classes-


What are the benefits of using friend classes?

- Friend classes are useful when a class wants to hide features from users which are required only by another, tightly coupled class.

- The implementation details can be kept safe by providing friend status to a tightly cohesive class.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: what are the benefits of using friend classes-
Reference No:- TGS0354922

Expected delivery within 24 Hours