摘要:
3.5. OperatorsThe usual arithmetic operators +, -, *, / are used in Java for addition, subtraction, multiplication, and division. The / operator denot... 阅读全文
posted @ 2015-04-13 18:05
uTank
阅读(326)
评论(0)
推荐(0)
摘要:
3.4. VariablesIn Java, every variable has a type. You declare a variable by placing the type first, followed by the name of the variable. Here are som... 阅读全文
posted @ 2015-04-13 18:04
uTank
阅读(249)
评论(0)
推荐(0)
摘要:
3.3. Data TypesJava is a strongly typedlanguage(强类型语音). This means that every variable must have a declared type(每个变量都必须声明类型). There are eight primiti... 阅读全文
posted @ 2015-04-13 17:29
uTank
阅读(255)
评论(0)
推荐(0)
摘要:
Let’s look more closely at one of the simplest Java programs you can have—one that simply prints a message to console:public class FirstSample{ pub... 阅读全文
posted @ 2015-04-13 10:17
uTank
阅读(180)
评论(0)
推荐(0)
浙公网安备 33010602011771号