Computer Science, asked by buddhadevthakur1821, 2 months ago

What is the defference between
next short() and nextlong( )​

Answers

Answered by TheEmeraldGirl
1

Explanation:

A Scanner breaks its input into tokens using a delimiter pattern, which by default matches whitespace. next() : Finds and returns the next complete token from this scanner. nextLine() : Advances this scanner past the current line and returns the input that was skipped.

Similar questions