The Java Tutorials have been written for JDK 8.Java教程是为JDK 8编写的。Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.本页中描述的示例和实践没有利用后续版本中引入的改进,并且可能使用不再可用的技术。
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.有关Java SE 9及其后续版本中更新的语言特性的摘要,请参阅Java语言更改。
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.有关所有JDK版本的新功能、增强功能以及已删除或不推荐的选项的信息,请参阅JDK发行说明。
The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications.Java教程是希望使用Java编程语言创建应用程序的程序员的实用指南。They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails".其中包括数百个完整的工作示例和数十个课程。相关课程组被组织成“小道”。
Trails Covering the Basics涵盖基本知识的小径
These trails are available in book form as The Java Tutorial, Sixth Edition.这些教程以书籍形式提供,如《Java教程第六版》。To buy this book, refer to the box to the right.要买这本书,参考右边的框。
Getting Started起步 — An introduction to Java technology and lessons on installing Java development software and using it to create a simple program.Java技术简介和有关安装Java开发软件并使用它创建简单程序的课程。
Learning the Java Language学习Java语言 — Lessons describing the essential concepts and features of the Java Programming Language.介绍Java编程语言基本概念和功能的课程。
Essential Java Classes基本Java类 — Lessons on exceptions, basic input/output, concurrency, regular expressions, and the platform environment.关于异常、基本输入/输出、并发、正则表达式和平台环境的课程。
Collections集合 — Lessons on using and extending the Java Collections Framework.关于使用和扩展Java集合框架的课程。
Date-Time APIs日期时间API — How to use the java.time pages to write date and time code.如何使用java.time页面编写日期和时间代码。
Deployment部署 — How to package applications and applets using JAR files, and deploy them using Java Web Start and Java Plug-in.如何使用JAR文件打包应用程序和小程序,并使用Java Web Start和Java插件部署它们。
Preparation for Java Programming Language CertificationJava编程语言认证的准备工作 — List of available training and tutorial resources.可用培训和教程资源的列表。
Creating Graphical User Interfaces创建图形用户界面
Specialized Trails and Lessons专业训练和课程
These trails and lessons are only available as web pages.这些小径和课程仅作为网页提供。
Custom Networking自定义网络 — An introduction to the Java platform's powerful networking features.介绍Java平台强大的网络功能。
The Extension Mechanism延伸机制 — How to make custom APIs available to all applications running on the Java platform.如何使自定义API可用于Java平台上运行的所有应用程序。
Full-Screen Exclusive Mode API全屏独占模式API — How to write applications that more fully utilize the user's graphics hardware.如何编写更充分利用用户图形硬件的应用程序。
Generics泛型 — An enhancement to the type system that supports operations on objects of various types while providing compile-time type safety.对类型系统的增强,支持对各种类型的对象的操作,同时提供编译时类型安全性。Note that this lesson is for advanced users.请注意,本课程面向高级用户。The Java Language trail contains a Generics lesson that is suitable for beginners.Java语言教程包含适合初学者的泛型课程。
Internationalization国际化 — An introduction to designing software so that it can be easily adapted (localized) to various languages and regions.介绍如何设计软件,使其易于适应(本地化)各种语言和地区。
- JavaBeans —
The Java platform's component technology.Java平台的组件技术。
- JAXB —
Introduces the Java architecture for XML Binding (JAXB) technology.介绍用于XML绑定的Java体系结构(JAXB)技术。
- JAXP —
Introduces the Java API for XML Processing (JAXP) technology.介绍Java API for XML处理(JAXP)技术。
JDBC Database AccessJDBC数据库访问 — Introduces an API for connectivity between the Java applications and a wide range of databases and data sources.介绍用于Java应用程序与各种数据库和数据源之间连接的API。
- JMX—
Java Management Extensions provides a standard way of managing resources such as applications, devices, and services.Java管理扩展提供了一种管理资源(如应用程序、设备和服务)的标准方法。
- JNDI—
Java Naming and Directory Interface enables accessing the Naming and Directory Service such as DNS and LDAP.Java命名和目录接口支持访问命名和目录服务,如DNS和LDAP。
Reflection反射 — An API that represents ("reflects") the classes, interfaces, and objects in the current Java Virtual Machine.表示(“反映”)当前Java虚拟机中的类、接口和对象的API。
- RMI —
The Remote Method Invocation API allows an object to invoke methods of an object running on another Java Virtual Machine.远程方法调用API允许对象调用在另一个Java虚拟机上运行的对象的方法。
Security安全性 — Java platform features that help protect applications from malicious software.帮助保护应用程序免受恶意软件攻击的Java平台功能。
Sockets Direct Protocol套接字直接协议 — How to enable the Sockets Direct Protocol to take advantage of InfiniBand.如何启用套接字直接协议以利用InfiniBand。
Sound声音 — An API for playing sound data from applications.用于播放应用程序声音数据的API。
2D Graphics二维图形 — How to display and print 2D graphics in applications.如何在应用程序中显示和打印二维图形。