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 do you need to set-up a cluster with jboss?

0 Answers  


What’s jboss cache in short?

0 Answers  


Explain about thread synchronization inside a monitor?

0 Answers   Saksoft,


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

0 Answers  


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

0 Answers  


What value does read() return when it has reached the end of a file?

0 Answers  


What are the implicit objects?

2 Answers   HCL,


iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation

3 Answers   iGate,


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  


whats is mean by object and class?

1 Answers   Saka Solutions,


Can you give me a simple example of using the requiredif validator rule?

0 Answers  


difference between Abstract and Interface?

2 Answers   HCL, Infotech,


Categories