title: Java - compilation errors using Scanner
body: <p>This is my current class:</p>
  
  <pre><code>package Mathias;
  
  import java.util.*;
  
  public class Scanner {
      public static void main(String args[]) {
          System.out.print("What's your name?");
          Scanner sc = new Scanner(System.in);
          String Input = sc.nextLine();
          System.out.println("Hello, " + Input + ".");
      }
  }
  </code></pre>
  
  <p>I get two errors on the 5th &amp; 6th lines.<br /> 
  <a href="http://puu.sh/64VGk.jpg" rel="nofollow noreferrer">Error 1 http://puu.sh/64VGk.jpg</a></p>
  
  <p><a href="http://puu.sh/64VHe.jpg" rel="nofollow noreferrer">Error 2 http://puu.sh/64VHe.jpg</a></p>