Contents:
Stream insertion operator for printing a Dividend object.
out – The output stream to insert the Dividend object into.
obj – The Dividend object to print.
The output stream with the Dividend object printed.