title: Use of scanner class in methods
body: <p>I currently have a project that is all in one class and has multiple methods. So far in each method I've had to use this line of code at the top to initialise my scanner. To take inputs from the user. </p>
  
  <pre><code>Scanner input = new Scanner(System.in);
  </code></pre>
  
  <p>My question is, is there a more efficient way of doing this?</p>
  
  <p>Edit: By efficient I mean, decrease the amount of times I have to write this single line of code? Is there anyway I could initialise it once and re-use it?</p>