【技術翻譯】Java官網教程翻譯(一)——學習Java語言

【背景】

   最近小編在工作中抽空學習了一些技術,但發現這些技術很多都是英文資料,鑑於小編的英文水平一般,所以開始嘗試翻譯英文資料,以此鍛鍊和提高自己的英文水平(並非權威,如有錯漏,歡迎指正!不勝感激!)

【內容】

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 學習Java語言

This trail covers the fundamentals of programming in the Java programming language.
本教程介紹了使用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技術文檔,如有錯誤,歡迎評論指出。(✿◡‿◡)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章