Would I need to use threads for this?
<p>Currently, the output of this program is </p>

<p><code>Hi
Hola
Ciao
Bonjour
Guten tag
How do you say hi in English?
How do you say hi in Spanish?
How do you say hi in Italian?
How do you say hi in French?
How do you say hi in German?</code></p>

<p>Which is what I expected, but my intention is for the output to be more like this: </p>

<p><code>How do you say hi in English?
Hi
How do you say hi in Spanish?
Hola
How do you say hi in Italian?
Ciao
How do you say hi in French?
Bonjour
How do you say hi in German?
Guten tag</code></p>

<p>My prediction is that I've got to make two threads in order to do this? I'm not to sure how to use threads, but I just want to make sure that threads are what I've got to research next in order to figure out how to do what I want to do. This is just an example, my actual code is a bit more complicated and I feel like this example is an easier way to understand my intentions.</p>

<p>Ok, so here's my code:
<div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>package test;

public class Class {

  public static void main(String[] args) {
    sayHiLanguages();
    howToSayHi();
  }

  public static void sayHiLanguages() {
    sleepThread(1);
    System.out.println("Hi");
    sleepThread(1);
    System.out.println("Hola");
    sleepThread(1);
    System.out.println("Ciao");
    sleepThread(1);
    System.out.println("Bonjour");
    sleepThread(1);
    System.out.println("Guten tag");
  }

  public static void howToSayHi() {
    System.out.println("How do you say hi in English?");
    sleepThread(1);
    System.out.println("How do you say hi in Spanish?");
    sleepThread(1);
    System.out.println("How do you say hi in Italian?");
    sleepThread(1);
    System.out.println("How do you say hi in French?");
    sleepThread(1);
    System.out.println("How do you say hi in German?");
  }

  public static void sleepThread(long time) {
    try {
      Thread.sleep(time * 1000);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }
}</code></pre>
</div>
</div>
</p>

<p>If you guys could direct me to a good article about threads that would be great!</p>