Home  >  Article  >  Java  >  A brief and crude summary of several standard Java class libraries

A brief and crude summary of several standard Java class libraries

无忌哥哥
无忌哥哥Original
2018-07-18 10:21:523292browse

lang package: This package provides basic classes for programming in the Java language. It is a package imported by default. The Runnable interface and Object, Math, String, StringBuffer, System, Thread and Throwable classes in this package need to be mastered because they are widely used.

Util package: This package provides the collection framework, legacy collection classes, event model, date and time implementation, internationalization and various utility classes (string tag generator , random number generators, and bit arrays).

IO package: Includes classes and interfaces that support input and output functions

sql package: This package provides access and processing using Java language Data API stored in a data source (usually a relational database).

net package:encapsulates the network layer, application layer: http protocol, and transport layer: some protocols of tcp/udp

text package:Provides classes and interfaces for processing text, dates, numbers, and messages in a natural language-independent way.

awt package:Contains classes that constitute the abstract window tool set

java.applet package, java.time package, java.beans package, java.math package, java.nio package , java.rmi package, java.security package, javax.swing package.

These two packages provide classes for GUI design and development. The java.awt package provides all classes for creating interfaces and drawing graphics images, while the javax.swing package provides a set of "lightweight" components, trying to make these components work the same way on all platforms

The above is the detailed content of A brief and crude summary of several standard Java class libraries. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn