Difference between ?System.out.println?
and ?System.error.println??

Answer Posted / ravikiran

out.println will print the output to an output stream.
err.println will print the errors to the stream

Is This Answer Correct ?    22 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the finally clause of a try-catch-finally statement in java programming?

712


How do you use substring in java?

763


Can we extend singleton class in java?

746


What is array pointers ?

805


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

799


What is the difference between == and === javascript?

804


Differece between class and generic class?

785


Which sorting algorithm is in place?

716


Give some features of interface?

801


What is derived datatype?

880


In which language java is written?

746


What is the difference between throw and throws keywords?

809


Can we use synchronized block for primitives?

818


What are sets in java?

726


How many types of variables are there?

886