I have a main class that starts two threads that write some charachers on the screen.
If I add a System.out.print("something") after the two start commands that something appear before the characters that the threads output yo the screen?
Thank you very much.
Don't understand the question, I am afraid. Please supply more details, eg what you are printing on screen.
You do realise that the two Threads run independently of each other, so they will not necessarily carry out actions in a particular order, particularly things like input and output which can take thousands or millions of times longer to execute than calculations?
There's no telling which of the 3 threads will be scheduled to run (or to be started) first. The results could be different on different machines, or on different JREs on the same machine, and even on the same JRE on the same machine (although that's unlikely).
Ping & DNS - updated with new look and Ping home screen widget