functions in Scanner class to read input:
nextInt() - to read integer
nextLong() - to read long integers
nextDouble() - to read floating point numbers
nextLine() - to read strings
next() - to read single word
Download
0 formats
No download links available.
Java 06 - Reading Input using Scanner class functions | NatokHD