Difference between ?System.out.println?
and ?System.error.println??
Answer Posted / narendrakumar
System.out.println(""); are used for displaying the data on
the console monitor and also send the data to the files...
But In System.err.println(""); mainly used for displaying
the err msg on the console monitor(stderr(standard
error))But we
cannot send the data to the file...only console monitor
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to perform binary search in java?
What are the two ways to create a thread?
What is proper subset?
What does java edition mean?
What is the difference between the boolean & operator and the && operator in java programming?
Can memory leak happen java?
What are aggregate functions explain with examples?
What is compareto () in java?
What are the main uses of this keyword?
What is meant by anonymous class?
What are the two types of streams offered by java 8?
Can an arraylist be empty?
In java, how many ways you can take input from the console?
Why string is immutable with example?
How do you trim a space in java?