Difference between nextint() and nextfloat() method
Answers
Answered by
20
Answer:
nextInt() reads the next integer value.
nextFloat() reads the next float value.
Both are inbuilt functions of the Scanner class.
Hope it helps you
Answered by
4
Answer:
nextInt () method and nextFloat () method
Explanation:
NEXTINT ()METHOD - Reads the next integer value.
NEXTFLOAT () METHOD- Reads the next float value
HOPE IT HELPS YOU
MARK ME AS BRAINLIST ANSWER
Similar questions