Description: Subtraction of (1) The operators+,- example 2+39,908.98-23, and so on.
The subtraction operator is the operator of the eyes, that is to connect the two operations of the operator. Combination of addition and subtraction operator direction is from left to right: 2+3-8, first calculate 2+3, and then The results obtained minus 8 plus or minus operator operating an integer or floating point data, the subtraction operator priority is 4.
(2) x, and the remainder operator*, /, 2* 39 908.98/23.
*, /, Operator is a binary operator symbol, that is to connect the two operand operator,*, /, operator binding direction is from left to right, for example, 2* 3/8, the first calculation of 2* 3, and then get the results divided by 8. operations multiplication and division operator is the integer or floating point data* / operator priority is 3.
Formula of arithmetic symbols and parentheses to connect java syntax rules, such as x+2* y-30+3* (y+5),
To Search:
File list (Check if you may need any files):
习02.01 运算符与表达式\.classpath
.......................\.project
.......................\src\Arithmetic.java
.......................\...\Logic.java
.......................\...\Operation.java
.......................\src
.......................\bin\Arithmetic.class
.......................\...\Logic.class
.......................\...\Operation.class
.......................\bin
习02.01 运算符与表达式