Transcription: One of the most elegant features of C++ classes is the ability to overload the building operators so that objects of user-defined types can be manipulated much like objects of built-in types. Here, the overloaded output operator is declared to be a friend. The first argument of this operator is an output stream and its second argument is a fraction object.