Difference between ?System.out.println?
and ?System.error.println??
Answer Posted / pratima
Display normally whatever you want to display
System.out.println("Hello")
Display Error messaage
System.err.println("Hello")
o/p:-Hello(In red color)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How are this() and super() used with constructors in java programming?
What is a control variable example?
What kind of variables can a class consist?
What do you mean by global variable?
What is the SimpleTimeZone class?
What is use of map in java?
What are java annotations?
What isan abstract class and when do you use it?
Is array serializable java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What does || mean in code?
Can you pass by reference in java?
What are the differences between this and super keyword?
Can the garbage collection be forced by any means?
What is the history of java?