forked from damaohongtu/JavaInterview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaAssembly.java
More file actions
26 lines (24 loc) · 566 Bytes
/
JavaAssembly.java
File metadata and controls
26 lines (24 loc) · 566 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
package JavaBasic;
import java.awt.image.VolatileImage;
/**
* @Classname JavaAssembly
* @Description TODO
* @Date 19-6-1 下午8:46
* @Created by mao<tianmao818@qq.com>
*/
public class JavaAssembly {
private volatile int a;
private volatile int b;
private volatile int c;
JavaAssembly(int a,int b,int c){
this.a=a;
this.b=b;
this.c=c;
}
public static void main(String[] args){
JavaAssembly javaAssembly=new JavaAssembly(1,2,3);
int a=0;
int b=1;
System.out.println(a+b);
}
}