PrintStream

The PrintStream is designed to print data at DOS prompt with its print() and println() methods. This stream comes with the ability of automatic flushing of data. In contrary to the methods of all I/O streams, the methods of PrintStream class do not throw IOException. PrintStream methods are deprecated in favor of PrintWriter, but not …

PrintStream Read More »