title: How do i use the Scanner.class more than once
body: <p>I am fairly new to java, and I want to know how to use the Scanner.class more than once</p>
  
  <p>Meaning that i want the program to allow me to make multiple imputs.</p>
  
  <p>I know that for 1 imput i can use:</p>
  
  <pre><code>Scanner scanner = new Scanner(System.in);
  String a = scanner.nextLine();
  </code></pre>
  
  <p>But how do I do it?  </p>