- 博客(7)
- 收藏
- 关注
原创 Strings
Strings字符串Conceptually, Java strings are sequences of Unicode characters. For example, the string "Java/u2122" consists of the five Unicode characters J, a, v, a, and ™. Java does not have a built-in
2005-12-26 16:28:00 2415
原创 Operators
Operators运算符The usual arithmetic operators + – * / are used in Java for addition, subtraction, multiplication, and division. The / operator denotes integer division if both arguments are integers, and
2005-12-06 17:11:00 1810 1
原创 Variables
Variables变量In Java, every variable has a type. You declare a variable by placing the type first, followed by the name of the variable. Here are some examples:在Java中,每一个变量都有一个类型。你要通过先指名类型,然后紧跟变量名的方式来声明
2005-11-22 16:20:00 2095
原创 Data Types
Data Types数据类型Java is a strongly typed language. This means that every variable must have a declared type. There are eight primitive types in Java. Four of them are integer types; two are floating-poi
2005-11-21 16:57:00 1231
原创 Comments
Comments注释Comments in Java, like comments in most programming languages, do not show up in the executable program. Thus, you can add as many comments as needed without fear of bloating the code. Java
2005-11-18 12:02:00 906
原创 A Simple Java Program
A Simple Java Program简单的Java程序Lets look more closely at about the simplest Java program you can have—one that simply prints a message to the console window:让我们近距离的接触一个最简单的Java程序——仅仅是向控制台窗口输出一个信息的小程序:
2005-11-18 09:57:00 1628
原创 Chapter 3. Fundamental Programming Structures in Java
Chapter 3. Fundamental Programming Structures in Java第3章 Java基本编程结构· A Simple Java Program 一个简单的Java程序· Comments 注释· Data Types 数据类型· Variables 变量· Operators 操作
2005-11-17 11:18:00 954
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人