This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com