vendredi 27 février 2015

cannot find symbol keyboard.nextInt




int n;
Scanner keyboard = new Scanner(System.in);
n = keyboard.nextInt();


My compiler is pointing to the dot in the statement n=keyboard.nextInt(); and providing a "cannot find symbol" error. Any suggestions? Thanks




Aucun commentaire:

Enregistrer un commentaire