Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes
asked in CSC211_Winter2018 by (8 points)

2 Answers

+7 votes

printStream allows you to write data to an underlying "outputStream". This data, consisting of primitive types like "int", can be formatted as text rather than byte values. This is useful when someone wants to view these values as they would be seen in the console window.

answered by (8 points)
+6 votes

A PrintStream gives you the ability to print a output to another file. So instead of using System.out.println () you would use the variable name of the PrintStream and replace the System.out. So if the PrintStream variable name was output you would say "output.println ("") to print the output in a external file

answered by (8 points)
...