-
Language Basics
- Variables
变量 - Primitive Data Types
原始数据类型 - Arrays
数组 - Summary of Variables
变量概要 - Questions and Exercises: Variables
变量问题与练习题 - Operators
操作符 - Assignment, Arithmetic, and Unary Operators
赋值运算符, 算术运算符, 和一元运算符 - Equality, Relational, and Conditional Operators
复合运算符, 关系运算符, 和条件运算符 - Bitwise and Bit Shift Operators
位运算和位移运算 - Summary of Operators
运算符概要 - Questions and Exercises: Operators
操作符问题和练习题 - Expressions, Statements, and Blocks
表达式, 语句, 和程序块 - Questions and Exercises: Expressions, Statements, and Blocks
表达式、语句、程序块问题和练习题 - Control Flow Statements
流程控制语句 - The if-then and if-then-else Statements
if-then和if-then-else语言 - The switch Statement
switch 开关语句 - The while and do-while Statements
while和do-while循环语句 - The for Statement
for循环语句 - Branching Statements
分支语句 - Summary of Control Flow Statements
流程控制语句概要 - Questions and Exercises: Control Flow Statements
流程控制语句问题和练习题
语言基础
-
Classes and Objects
- Classes
类 - Declaring Classes
声明类 - Declaring Member Variables
声明成员变量 - Defining Methods
定义方法 - Providing Constructors for Your Classes
为您的类提供构造方法 - Passing Information to a Method or a Constructor
类方法或构造函数的信息传递 - Objects
对象 - More on Classes
关于类更多 - Returning a Value from a Method
从方法中返回值 - Using the this Keyword
使用this关键词 - Controlling Access to Members of a Class
控制类成员的数据存取 - Understanding Instance and Class Members
理解实例化和类成员 - Initializing Fields
初始化字段 - Summary of Creating and Using Classes and Objects
创建使用类和对象概要 - Questions and Exercises: Classes
类问题和练习题 - Questions and Exercises: Objects
对象问题和练习题 - Nested Classes
嵌套类 - Inner Class Example
内部类举例 - Summary of Nested Classes
嵌套类概要 - Questions and Exercises: Nested Classes
嵌套类的问题和练习题 - Enum Types
枚举类型 - Questions and Exercises: Enum Types
枚举类型的问题和练习题 - Annotations
注释 - Questions and Exercises: Annotations
注释问题和练习题
类和对象
-
Interfaces and Inheritance
接口和继承
-
Numbers and Strings
数组和字符串
Trail: Learning the Java Language JAVA语言教程
|
