Computer Science, asked by jasminejohn1978, 2 months ago

The method used to read numeric value during program execution is?

Answers

Answered by rimpasarkar649
4

Answer:

In order to read a number (integer) from the user, we first create an object of the Scanner class and then invoke the nextInt() method. It is the most preferred method to take input of primitive types. Similarly, we can also use nextDouble(), nextLong(), nextFloat(), etc.

Answered by asifislamqwer1234
0

Answer:

the method used to read numeric value during program execution is -

Similar questions