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