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
Why destructor is not used in java?
Difference between final and effectively final ? Why is effectively final even required ?
Why bytecode is called bytecode?
Is node a data type in java?
What is an array length?
Does .length start 0 java?
What is xslt in java?
What are the differences between wait() and sleep()?
Difference between character constant and string constant in java ?
Explain the importance of join() method in thread class?
What is runtime locatable code?
Why is multiple inheritance not supported in java?
What does next mean in java?
What is an object in java and how is it created?
What is string value?