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
What is your platform?s default character encoding and how to know this?
What is the generic class?
Difference between comparator and comparable in java?
Is string serializable in java?
What are streams in java 8?
What are the legal parameters?
Explain when noclassdeffounderror will be raised ?
What is quick sort in java?
What is ++ a in java?
Define how objects are stored in java?
What is stored procedure. How do you create stored procedure ?
Explain about class in java?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
Why does java not support pointers?
Tell us something about set interface.