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
Can we have this () and super () together?
Why inputstreamreader is used in java?
What are the differences between Java 1.0 and Java 2.0?
What is the difference between jdk, jre, and jvm?
Is java written in c?
Describe 2 different ways to concatenate two strings.
Is java util list serializable?
How can we run a java program without making any object?
Why are the destructors for base class and derived class called in reverse order when the program exits
What is a key in java?
Is it possible to compare various strings with the help of == operator?
Which class is the superclass for every class in java programming?
Do you need to import math in java?
What do you mean by constant time complexity?
What is immutable class in java?