Here is a tutorial that uses Threads in Java for a console application in Terminal bash session on a Mac laptop.
This program sets off 2 sets of 4 threads in two modes of operation, first using the freedom of Threading ideas and the latter (orderly = true) for Threads that run to their completion before another starts.
Good background reading for this tutorial would be:
- Threading in computing
- Java concurrency
- Good explanation of relationship of join() to start() and run() for Java Threads here
Link to Java programming source code which you should rename to JavaThreadTutorial.java
If this was interesting you may be interested in this too.



Revisiting your Worldwide Country Quiz so that the Geo Chart still draws a map even for a small country such as Andorra, and adding Wikipedia images after an answer, keeps the focus on a working world-country quiz rather than only on the surrounding code. I work on World Geography; our world map quiz is a free, untimed browser option for adults and does not need an account. It is another practice link, not a programming tutorial and not a replacement for the Worldwide Country Quiz you are building here.