-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEval.java
More file actions
32 lines (29 loc) · 531 Bytes
/
Eval.java
File metadata and controls
32 lines (29 loc) · 531 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package java01;
public class Eval {
/**
* @param args
*/
static int k = 10;
public static void main(String[] args) {
// TODO ×Ô¶¯Éú³ÉµÄ·½·¨´æ¸ù
int a,b,c;
double j = 10.153;
float k = 1.5f;
a = 10;
b = 20;
System.out.println("b"+b);
System.out.println("j"+j);
System.out.println("k"+k);
c = b = a+5;
c++;
int x,y,z;
x = 4;
y = x++;
z = ++x;
System.out.println("b"+b);
System.out.println("c"+c);
System.out.println("x"+x);
System.out.println("y"+y);
System.out.println("z"+z);
}
}