Console Printing Order in Eclipse [duplicate]
This question already has an answer here: Java: System.out.println and System.err.println out of order 6 answers Why is System.err slower than System.out in Eclipse? [duplicate] 1 answer I have a simple Arithmetic Program typed in Eclipse. When run the program in Eclipse the output appears in weird order each time I run. Sometimes The exception comes at last print statement comes first (which is the right way). Some times it comes vise-versa in a jumbled up order. Why it is happening & how to rectify it? Is there any setting to make it print in a right way each time I execute. The below screen