-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathMain.java
More file actions
56 lines (37 loc) · 951 Bytes
/
Main.java
File metadata and controls
56 lines (37 loc) · 951 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package JavaTesting;
import javax.sound.midi.Soundbank;
import java.util.*;
public class Main {
public static void testOperators(){
int i = 0;
int j = 0;
i = j + i * 40 + 5 - 3;
//System.out.println(Thread.currentThread().getStackTrace());
Thread.dumpStack();
//System.out.println(i);
return;
}
public static void testConditions(){
int i = 0;
int j = 0;
boolean f = (j < i && (i > j || i == 4));
}
public static void testNew(){
/*Test obj;
obj = new Test();
obj.foo(1);*/
//obj = new ArrayList<>();
/*Object obj2 = new Object();
obj = obj2;*/
}
public static void tesRef(){
int i = 10,j = 15;
i = j;
}
public void foo(int i){};
public void boo(){};
public static void main(String[] args) throws Exception
{
testOperators();
}
}