Computer Science, asked by srinivasrti9494, 1 year ago

Difference between nextint() and nextfloat() method

Answers

Answered by anupama777vidya
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 patel1982heena
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