title: Whats wrong with my User Input Code?
body: <p>Everytime I use this code:</p>
  
  <pre><code>import java.util.*;
  
  public class Main{
  
  public static void main (String args []){
  System.out.println("What is your name?");
  Scanner name = new Scanner (System.in);
  System.out.println("Hello," + name);
  }
  } 
  </code></pre>
  
  <p>It just gives me random letters like:</p>
  
  <p>Hello,java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need input=false]</p>
  
  <p>Please someone help. </p>