Computer Science, asked by lathashreegtch, 7 months ago

Name the method of Scanner class that Is used to accept integer data from the standard input device

Answers

Answered by anindyaadhikari13
1

Answer:-

The method of scanner class that accept integer data from the standard input device is - nextInt()

Other methods:-

  1. nextDouble()
  2. nextFloat()
  3. next()
  4. nextLine()

Answered by Oreki
0

nextInt( ) is the method of Scanner class that is used to accept integer data from the standard input device.

Similar questions