Computer Science, asked by himanSHIuuuggg1298, 10 months ago

Distinguish between next int() and next float () method

Answers

Answered by swagat18
2

Answer:

nextInt() reads the next integer value. nextFloat() reads the next float value. Both are inbuilt functions of the Scanner class

Similar questions