One of the constructors for the PrintStream class has a single OutputStream argument. Suppose that dos refer to a variable that references an OutputStream object. Generate a PrintStream object utilizing the dos and allocate the resulting reference to ps, a PrintStream variable which has already been declared.