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 do I need to declare the type of a variable in java?
Explain about object oriented programming and its features?
a thread is runnable, how does that work? : Java thread
Can the interface be final?
How do you compare two strings lexicographically?
How does map works in java?
What is update method called?
Can keyword be used as identifier?
Explain what pure virtual function is?
What is a lock or purpose of locks in java?
What is java in simple terms?
Is void a data type?
What is a substitution variable?
Is null or empty java?
What’s the difference between constructors and other methods?