title: what are the fast ways to take input in java?
body: <p>In Java i take Input using standard <code>Scanner</code> and <code>BufferedReader</code> Classes like:</p>
  
  <pre><code>Scanner sc=new Scanner(System.in);
  int a=sc.nextInt();
  </code></pre>
  
  <p>or</p>
  
  <pre><code>BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
  int a=Integer.parseInt(br.readLine());
  </code></pre>
  
  <p>but taking input like this takes a lot of running time. I would like to know the faster way to take input. Thanks in advance</p>
  
  <p>Edit: I have seen top java coders like uwi who take input in a very different way. They kinda create their own reader class. I dont get it that how their program becomes fast in runtime.</p>