What does the "import java.util.*" statement mean?
1. "import java.util.*;" means importing all classes under the util package into the program;
2. Import "import java.util.*;" "If you want to use other classes in the util package later in the program, you don't need to re-import the package;
3. * represents a wildcard character, including all classes of util.
(Video tutorial recommendation: java video tutorial)
Related introduction:
Two import statements of import
Single type Import (single-type-import) (Example: import java.util.ArrayList; );
Type-import-on-demand (Example: import java.util.*;) .
Recommended tutorial: java entry program
The above is the detailed content of What does the import java.util.* statement mean?. For more information, please follow other related articles on the PHP Chinese website!