Professional Documents
Culture Documents
import java.util.*;
class InputTutorial
int a;
/*declare object of Scanner Class, ee is the object that we have created of the
Scanner class, we use this object to then call methods that have already been
created within the Scanner class*\
/*nextInt() method of Scanner class is then called which reads the input and then we
save that input in the variable a*/
a = ee.nextInt();