title: How can I enter "char" using Scanner in java?
body: <p>I have a question</p>
  
  <p><strong>how can I enter <code>char</code> using Scanner in java?</strong>  </p>
  
  <p>Such as for integer number</p>
  
  <pre><code>Scanner input=new Scanner(System.in);
  
  int a = input.nextInt();
  </code></pre>
  
  <p>but how can I do the same for char?</p>
  
  <p>thanks for helping.</p>