This shows you the differences between two versions of the page.
|
java:util:scanner:nextint [2013/04/10 09:03] 94.223.12.247 created |
java:util:scanner:nextint [2024/02/16 01:12] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| public int nextInt() | public int nextInt() | ||
| </code> | </code> | ||
| - | double scanned from the input | + | return int scanned from the input |
| - | ===== example nextInt===== | + | ===== example nextInt in java ===== |
| <code java> | <code java> | ||
| package scanner; | package scanner; | ||