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 source and listener?
Name three component subclasses that support painting?
Explain the methods of Naming class, rebind( ) and lookup()?
What is mdb and what is the special feature of that?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What state a thread enters, When it blocks on I/O?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Are we allowed to change the transaction isolation property in middle of a transaction?
What are the benefits of detached objects?
What class is the top of the awt event hierarchy?
why static class in java