Computer Science, asked by s81323386, 9 months ago

distinguish between next int() and next float () method​

Answers

Answered by samuelissacprince
3

Explanation:

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

please follow me and mark my answer as brainliest

Answered by Anonymous
4

Answer:

Hi..

Explanation:

int() returns the integer value...

For eg: 12,15,16,17 etc..

Whereas float returns a floating point number that is a number with its decimal part also..

For eg: 12.9,33.0 etc

Hope it helps you

Please mark brainliest

Similar questions