If it is necessary to implement an operation with a


When implementing an ADT with a class, using function members to implement operations is generally preferred over using friend functions. The friend mechanism is not consistent with the principle of information hiding, which protects the data members from outside access. If it is necessary to implement an operation with a function that is external to the class, it is better to provide access to the private data members by means of public accessory and matador function members.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: If it is necessary to implement an operation with a
Reference No:- TGS02584027

Expected delivery within 24 Hours