Write some code that will create a stream named outStream that is a member of the
class PrintWriter, and that connects this stream to a text file named sam so that
your program can send output to the file. Do this so that the file sam always starts
out empty. So, if there already is a file named sam, the old contents of sam are lost.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here