To read an integer you should use .readInt.. There are different methods for each datatype..
For a string = readline
For a integer = readInt
And so on..
Hope this helps
Type: Posts; User: Stayawake
To read an integer you should use .readInt.. There are different methods for each datatype..
For a string = readline
For a integer = readInt
And so on..
Hope this helps