java语言翻译_【技术翻译】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技术文档,如有错误,欢迎评论指出。(✿◡‿◡)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值