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

how we can implement interface in jsp ?

2 Answers   Google,


What is the relationship between an event-listener interface and an event-adapter class?

0 Answers  


Explain about thread synchronization inside a monitor?

0 Answers   Saksoft,


What are the ways to define classes that can be run as threads?

1 Answers   KPIT,


what is disadvantage of thread?

3 Answers   HCL,






How do you set security in applets?

1 Answers   IBM,


whats is mean by tiles in struts

2 Answers   SolutionNET,


what is the proxy pattern?

1 Answers  


What will happens, when a thread cannot acquire a lock on an object?

2 Answers  


Describe, in general, how java's garbage collector works?

0 Answers  


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

0 Answers  


Why are some of the class and element names counter-intuitive?

0 Answers  


Categories