What objections to the use of friend functions and classes do some experts give?

What will be an ideal response?

They feel that in the true spirit of object oriented programming all operators
and functions should be member functions of the class. Some argue that friendship
“breaks the encapsulation.”

Computer Science & Information Technology

You might also like to view...

The Detail section of a form appears once for every record. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

List the four elements of the design model.

What will be an ideal response?

Computer Science & Information Technology