What class is the nextInt() method in?
The API doc for the class and that method should explain what it does.
Link to the API doc:Java Platform SE 6