You made a mistake while creating object for Scanner class. The reference you initialised stdIn and the one you are using are wrong.
use "a = stdIn.nextInt();"
then it will work . hope it helps....
Type: Posts; User: RAJ467
You made a mistake while creating object for Scanner class. The reference you initialised stdIn and the one you are using are wrong.
use "a = stdIn.nextInt();"
then it will work . hope it helps....