-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCheckDemo.java
53 lines (41 loc) · 1.01 KB
/
CheckDemo.java
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
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class CheckDemo {
/*
public static void main(String[] args) {
*//*newThread thread=new newThread();
thread.setDaemon(true);
thread.start();
System.out.println("Completed operatiom");
*//*
*//*
System.out.println(1+2==+3+
+
+5);*//*
*//*foo(null);*//*
*//*
double d=0;
System.out.println(d);
*//*
byte[] b=new byte[10];
char[] chars = new char[10];
double[] doubles=new double[110];
System.out.println(b[0]+" "+chars[0]+doubles[0]);
}
public static void foo(Object o){
System.out.println("object");
}
public static void foo(String s){
System.out.println("String");
}
}
class newThread extends Thread{
@Override
public void run() {
for (int i = 0; i <500 ; i++) {
System.out.println("Hello"+i);
}
}*/
}