0
hasNext() , in Scanner class in JAVA
The java.util.Scanner.hasNext() method Returns true if this scanner has {{another token}} in its input. This method may block while waiting for input to scan. The scanner does not advance past any input. Can anyone explain the meaning of another token here ?
2 Answers
0
Here another token specially means to tell about delimiter