title: Java ask String input with multiple words
body: <p>HI I am having problem with asking Direct Whole name using Java.</p>
  
  <pre><code>System.out.println("DOCTOR");
  System.out.println("Enter ID Number:");
  idnumber = scan.next();
  System.out.println("Enter Name");
  name = scan.next();
  System.out.println("Enter Field of Specialization:");
  field = scan.next();
  
  System.out.println("ID               " + idnumber);
  System.out.println("Name             " + name);
  System.out.println("Specializtion    " + field );
  </code></pre>
  
  <p>and When I enter this information below:</p>
  
  <blockquote>
    <p>ID = 100  Name = Brandon Sullano</p>
  </blockquote>
  
  <p>it gives me this result</p>
  
  <pre><code>ID               100    
  Name             Brandon    
  Specializtion    Sullano
  </code></pre>
  
  <p>I want Name to be dynamic so I can Input even two words how to do it?<br>
  Thanks in Advance..</p>