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
What is the syntax and characteristics of a lambda expression? Explain
What is core java used for?
Can we print null in java?
When will we use them?
What's the default access specifier for variables and methods of a class?
Explain importance of inheritance in java?
What are default methods ?
What does main method?
What is difference between identifier and variable?
What is * argv?
Can we use String with switch case?
Tell us something about an iterator.
What is the difference between abstract class and interface1? What is an interface?
What is final variable?
Is string is a class in java?