Distinguish between next int() and next float () method
Answers
Answered by
2
Answer:
nextInt() reads the next integer value. nextFloat() reads the next float value. Both are inbuilt functions of the Scanner class
Similar questions