Google News
logo
Java - Interview Questions
What is the difference between System.out and System.err?
System.out and System.err both represent the monitor by default and hence can be used to send data or results to the monitor. But System.out is used to display normal messages and results whereas System.err is used to display error messages.
Advertisement