Common Java packages and common Java packages
- Java. lang: This package contains the core classes of the Java language, such as String, Math, Sytem, and Thread. You do not need to use the import Statement to import the package, the system automatically imports all classes in this package.
- Java. util: This package contains a large number of java tool classes/interfaces and collection framework classes/interfaces. Such as Arrays, List, and Set.
- Java.net: This package contains some Java Network Programming-related classes/interfaces.
- Java. io: This includes some classes/interfaces related to Java input/output programming.
- Java. text: This package contains some Java formatting related classes.
- Java. SQL: This package contains related classes/interfaces for java JDBC database programming.
- Java. awt: This package contains classes/interfaces related to Abstract Window Toolkits. These classes are mainly used to build graphical user interface (GUI) programs.
- Java. swing: This package contains related classes/interfaces for Swing graphic user interface programming, which can be used to build platform-independent GUI programs.