Difference between ?System.out.println?
and ?System.error.println??
Answer Posted / narendrakumar
System.out.println(""); are used for displaying the data on
the console monitor and also send the data to the files...
But In System.err.println(""); mainly used for displaying
the err msg on the console monitor(stderr(standard
error))But we
cannot send the data to the file...only console monitor
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can u increase the heap size in the memory?
What are loops in java? What are three types of loops?
What is flush () in java?
What does || mean in code?
Is it possible for yielded thread to get chance for its execution again ?
How many types of the indexof method are there for strings?
Which class is used by server applications to obtain a port and listen for client requests?
What’s a deadlock?
Is char a data type in java?
Can an interface implement another interface?
What are the main uses of this keyword?
What are three ways in which a thread can enter the waiting state in java programming?
Is the empty set a singleton?
Which package has light weight components in java programming?
How do you find the independent variable?