title: Integer.parseInt() Error
body: <p>i'm getting an errors while trying to use <code>Integer.parseInt()</code>. They are, no suitable method found for parseInt(int) and method Integer.pasreInt(String) in not applicable.</p>
  
  <pre><code>import java.io.InputStream; 
  import java.util.Scanner; 
  import java.util.regex.Pattern; 
  
  class bday1
  { 
  public static void main(String[] args) 
  { 
      Scanner sc = new Scanner(System.in);
      int day;
      int month=0;
      int year;
      int whatDay;
      int howManyDays=0;
      int leapYear;
      final int JANYEAR = 1901;
      int[] dayMonth = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
      boolean numberEntered=true;
      String strMonth;
      String[] days = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"};
  
      System.out.print("What is your birthdate? "); 
      sc.useDelimiter(Pattern.compile("[-/.\\s]")); 
      day = sc.nextInt();
      strMonth = sc.next();
      year = sc.nextInt();
  
      if((strMonth.charAt(0) &gt;='0') &amp;&amp; (strMonth.charAt(0) &lt;='9'))
      {
          numberEntered=true;
          System.out.println ("number entered");
      }
  
      if(numberEntered)
      {
          strMonth=Integer.parseInt(month);
      }
  
      else
      {
          System.out.println ("string entered");
      }
  </code></pre>
  
  <p>Thats my snippet of code i believe i having trouble with. Any help would be great.</p>