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
What does || mean in vectors?
Define inheritance?
What is collection class in java?
Explain the importance of throwable class and its methods?
What is an interoperable application in java ?
What are the three types of design patterns?
Can an interface implement another interface?
How can we make sure main() is the last thread to finish in java program?
What is bufferedwriter?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
what is thread? What are the high-level thread states? : Java thread
Why we do exception handling in java and how many types of exceptions are there?
How to sort array of 0 and 1 in java?
What is the difference between arraylist and hashset in java?
What is gui programming?