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



Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / rakeshchandra

Yes , It will execute and the output is
Hello JAVA (in red color)

Is This Answer Correct ?    33 Yes 5 No

Is System.err.println(""Statement"); is execute the output on console . Example: ..

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

Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / salman abbas

Yes , It will execute and the output is
Hello JAVA (in red color)

Is This Answer Correct ?    1 Yes 0 No

Is System.err.println(""Statement"); is execute the output on console . Example: ..

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

Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / srinu

yes its execute
output:Hello JAVA
no change the color

Is This Answer Correct ?    3 Yes 4 No

Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / my

java

Is This Answer Correct ?    5 Yes 10 No

Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / kannna

syntax error;

Is This Answer Correct ?    1 Yes 9 No

Is System.err.println(""Statement"); is execute the output on console . Example: ..

Answer / rtetr

574

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More Advanced Java Interview Questions

What is Connection Pooling?

1 Answers   Enteg Technologies, Infosys, Polaris,


What if the static modifier is removed from the signature of the main method?

0 Answers  


what is disadvantage of thread?

3 Answers   HCL,


what are RemoteObjects?

0 Answers   Wipro,


For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??

1 Answers  


Why JDBC has introduced

4 Answers  


difference between  ejb,struts,hibernate,spring and jsp

0 Answers  


What is synchronization?

6 Answers   Verizon,


Why a component architecture for the java platform?

0 Answers  


What is the difference between RMI and Socket?

2 Answers  


What is daemon thread?

3 Answers  


whats is mean by jndi

1 Answers   SolutionNET,


Categories