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 are methods?

565


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

546


What is main string [] args?

528


What is the importance of main method in Java?

579


How do I compare two strings in word in java?

543






What is a vector in java?

582


What is the final access modifier in java?

621


What is parse method?

553


What are the major drawbacks of external iteration?

581


What is difference between core java and java ee?

482


What is the primitive type short?

587


What is a parameter used for?

528


What is runtime locatable code?

879


What is immutable class in java?

523


What classes of exceptions may be thrown by a throw statement?

536