Is System.err.println(""Statement"); is execute the output
on console .
Example:
System.err.println("Hello JAVA");
Answers were Sorted based on User's Feedback
Answer / rakeshchandra
Yes , It will execute and the output is
Hello JAVA (in red color)
| Is This Answer Correct ? | 33 Yes | 5 No |
Answer / prabhjot
it will execute same as System.out.println()
there is no change in color
For example: Hello Java
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / salman abbas
Yes , It will execute and the output is
Hello JAVA (in red color)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / manikandan [ gtec,vellore ]
yes,It'll print Hello JAVA in red color in IDE but in
command prompt it'll print all in same color
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / srinu
yes its execute
output:Hello JAVA
no change the color
| Is This Answer Correct ? | 3 Yes | 4 No |
What is a policy?
To identify IDL language what mapping mechanism is used?
what is JTA ?
How many JSP scripting elements and what are they?
What are externizable interface?
Name the method to find, if a thread is active or not?
Why are component architectures useful?
How do you maintain a stateful session object across the session
why we use main in java?
What is RRL?
what is the RMI / IIOP?
What are the ways to define classes that can be run as threads?