title: cannot find symbol problem with try-catch
body: <p>hey guys the compiler keeps giving me a cannot find symbol for the try-catch here..
  i'm trying to scan for a int but i have to user input error check for other stuff and yet i cant seem to be able to catch the exception.. </p>
  
  <pre><code>try
   {
   starid = sc.nextInt();
   }catch(InputMismatchException e)
    {
    System.out.println("Error in input!!");
    }
  </code></pre>
  
  <p>Thanks in advance guys...</p>