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 a method in coding?

806


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

888


What is variable and rules of variable?

765


Is finalize() similar to a destructor?

798


What are singleton services?

687


What is the difference between static (class) method and instance method?

814


What are the advantages of defining packages in java?

750


Is null a string or object in java?

750


How can we run a java program without making any object?

782


How is a structure different from array ?

803


What is a stringbuilder?

716


What is jvm? How its run?

882


Is upper case in java?

747


Where pragma is used?

835


What is a cup of java?

802