【内容】 |
The Java Tutorials have been written for 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. See JDK
Release Notes for information about new features, enhancements,
and removed or deprecated options for all JDK releases.
本Java教程是为JDK8编写的,示例和实践没有引入任何更高版本的功能,因此可能会使用一些已经不再可用的功能。有关Java SE9和后续发型版本中更新的语言功能摘要请参考Java语言变更。查阅JDK发布版本的新功能,增强功能以及已删除或不建议使用的选项信息,请参见JDK发行说明。
Trail: Learning the Java Language
This trail covers the fundamentals of programming in the Java
programming language.
学习Java语言
本教程介绍了使用Java变成语言进行编程的基础知识。
Object-Oriented Programming Concepts
teaches you the core concepts behind object-oriented programming:
objects, messages, classes, and inheritance. This lesson ends by
showing you how these concepts translate into code. Feel free to skip
this lesson if you are already familiar with object-oriented
programming.
面向对象编程概念
将为您讲述面向对象编程的核心概念:对象、消息、类和接口。本章节将为您展示如何将这些概念转化为代码,如果您已经熟悉面向对象编程,则可以随意跳过本教程。
Language Basics
describes the traditional features of the language, including
variables, arrays, data types, operators, and control flow.
语言基础
描述了语言的传统功能,包括变量、数组、数据类型、运算符和控制流。
Classes and Objects
describes how to write the classes from which objects are created, and how to create and use the objects.
类和对象
描述如何从已经现有对象里编写类,以及如何创建和使用对象。
Annotations
are a form of metadata and provide information for the compiler. This
lesson describes where and how to use annotations in a program
effectively.
注解
是一种元数据格式并且为编译器提供信息。本章节描述在何处以及如何在编程中有效的使用注解。
Interfaces and Inheritance
describes interfaces—what they are, why you would want to write one,
and how to write one. This section also describes the way in which you can derive one class from another. That is, how a subclass can
inherit fields and methods from a superclass. You will learn that all
classes are derived from the Object class, and how to modify the
methods that a subclass inherits from superclasses.
接口和继承
描述接口——它们是什么?为什么要编写一个接口?以及如何编写一个接口。本章节也描述了从一个类派生另一个类的方式,也就是为何一个子类可以从一个超类继承属性和方法。你将会了解到所有类都是从Object类派生而来,以及如何去修改子类从超类继承而来的方法。
Numbers and Strings
This lesson describes how to use Number and String objects The lesson also shows you how to format data for output.
数字和字符串
本章节描述了如何数字和字符串对象,也将为您展示如何格式化数据的输出。
Generics
are a powerful feature of the Java programming language. They improve the type safety of your code, making more of your bugs
detectable at compile time.
泛型
是Java编程语言的一个强大功能。他们提高了你的代码类型安全性,使您在编译时可以检测出更多可检测的错误。
Packages
are a feature of the Java programming language that help you to
organize and structure your classes and their relationships to one
another.
包
Java编程语言的强大功能之一,帮助您组织和建立类和他们之间的关系。
【小结】 |
以上仅为小编自己翻译的第一篇Java技术文档,如有错误,欢迎评论指出。(✿◡‿◡)