Computer Applications
Differentiate between the following:
nextInt( ) and nextFloat( ) methods
Input in Java
116 Likes
Answer
| nextInt( ) | nextFloat( ) |
|---|---|
| Scans the next token of input as an int | Scans the next token of input as a float |
Answered By
76 Likes