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 reverse a string in java?
What is reverse function?
Does java allow overriding static methods ?
How would overload a function based on return type?
What are the advantages of arraylist over arrays?
Java.util.regex consists of which classes?
How many bits is a char?
Can we create constructor in abstract class ?
What is an empty string in css?
What is java full form?
What is the access scope of a protected method?
Is array a class in java?
Can a class extends itself in java?
What does mean in regex?
What is difference between static and abstract class?