Here you can find the source of inputInt()
protected final static int inputInt()
//package com.java2s; //License from project: BEER-WARE LICENSE import java.util.Scanner; public class Main { protected final static int inputInt() { Scanner sc = new Scanner(System.in); return sc.nextInt(); }/*w ww . jav a 2 s . c o m*/ }