Java.util.Scanner Class - AlphaCodingSkills - 0 views
-
eyssant on 26 Jun 20Java.util package provides a Scanner class. A simple text scanner parse primitive types and strings using regular expressions. A Scanner breaks its input into tokens using a delimiter pattern, which by default matches whitespace. The resulting tokens may then be converted into values of different types using the various next methods.