Monday, June 1, 2015

Standard Streams

Java provides following three standard streams:

  Standard Input: This is used to feed the data to user's program and usually a keyboard is
used as standard input stream and represented as System.in.


  Standard Output: This is used to output the data produced by the user's program and usually
  a computer screen is used to standard output stream and represented as System.out.


  Standard Error: This is used to output the error data produced by the user's program and
usually a computer screen is used to standard error stream and represented as System.err.

No comments:

Post a Comment