System.err shows up before System.out in terminal?

How come
System.err
(red error text) show up in the terminal before
System.out
(white normal text) even though the error comes later in the code?

Its something about the
System.err
getting "flashed" more quickly or something, whereas the
System.out
might still be in the "buffer" (not sure what the buffer is, or even if "flashed" is the correct term).
image.png
Was this page helpful?