Name the method of Scanner class that Is used to accept integer data from the standard input device
Answers
Answered by
1
Answer:-
The method of scanner class that accept integer data from the standard input device is - nextInt()
Other methods:-
- nextDouble()
- nextFloat()
- next()
- nextLine()
Answered by
0
nextInt( ) is the method of Scanner class that is used to accept integer data from the standard input device.
Similar questions