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

the advantages of polymorphic

1 Answers  


Difference between hashmap and hashtable?

0 Answers  


What is DTD?

3 Answers   Wipro,


What restrictions are placed on the values of each case of a switch statement?

0 Answers  


What is mdb and what is the special feature of that?

0 Answers  






How can I scroll through list of pages like the search results in google?

0 Answers  


What are externizable interface?

0 Answers  


Have you used threads in Servelet?

0 Answers   Satyam,


Connection Pooling with different type of databases?

1 Answers  


the use of try and ffinally keyword

1 Answers  


Why use POJO when I can use hashmap

0 Answers   Infotech,


Is “abc” a primitive value?

0 Answers  


Categories