Common Java Packages

Source: Internet
Author: User

java.lang.*
provides a basic class for programming using the Java programming language. The most important class is Object (which is the root of the class hierarchy) and class (its instance represents a class in the running application).
java.util.*
contains the collection framework, legacy collection classes, event models, date and time facilities, internationalization, and various utility classes (string tag generator, random number generator and bit array, date dates class, Stacks stack class, Vector vectors class, etc.). Collection class, Time processing mode, date and time tools and other common tool kits
java.io.*
Java's core library, Java.io, provides a comprehensive IO interface. Include: file read and write, logo device output. Io in Java is input and output on a stream basis, and all data is serialized to the output stream or read in from the input stream.
java.net.*
Not all systems support the IPV6 protocol, and when the Java network connection stack tries to detect it and use it transparently when it is available, you can also disable it with System properties. In cases where IPv6 is not available or is explicitly disabled, inet6address is no longer a valid parameter for most network connection operations. While you can guarantee that methods such as Java.net.InetAddress.getByName do not return inet6address when you look for hostnames, you can still create such objects by passing literal values. In this case, most methods will throw an exception when using the Inet6address call.
java.sql.*
provides an API to access and process data stored in a data source (typically a relational database) using the JAVATM programming language. This API includes a framework that allows you to dynamically install different drivers to access different data sources

java.awt.*

The package contains support for graphical user interface (GUI) classes

javax.swing.*

The package holds classes that support Swinggui components and is more flexible than java.awt-related components

Common Java Packages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.