title: readLine() does not work properly
body: <p>i have problem with readLine() ,i.e, my system does not accept my any input request and its directly execute the next line what is the wrong in my code my code is:</p>
  
  <pre><code>System.out.println("Choose your option:\n"
                  + "To Add   :\tA/a\n"
                  + "To Delete:\tD/d\n"
                  + "To Update:\tu/U\n"
                  + "To Exit  :\tpress any key");
          char ch = (char) br.read();
          //br.readLine().charAt(0);
          br.skip(1);
          if(ch =='a' || ch == 'A'){
             addElement();
          }
          else if(ch == 'd' || ch == 'D') {
              System.out.println("Please enter emp id :");
              int id = Integer.parseInt(br.readLine());
              //int id = Integer.parseInt(System.console().readLine("enter emp"));
              deleteElement(id);
          }
          else if(ch == 'u' || ch == 'U') {
              System.out.println("Please enter emp id :");
              int id = Integer.parseInt(br.readLine());
              updateElement(id);
          }
          else System.exit(0);
  </code></pre>
  
  <p>this code is working in only netbeans command mode it is not accessible thanks</p>