blob: a0e27c79b5ad3b96df88ae890270fe425af5a3b0 (
plain)
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
|
//VERSION 7:
import static java.lang.String.*;
import java.io.*;
class ExoticJava<V> {
public <T> ExoticJava(T genericsInConstructor, V genericsInType) {
System.out.println(new <String>ExoticJava<Integer>("Hello", 5));
}
;;;;
public void test() {
int x = 5, y[] = {10};
;
class MethodLocal implements Serializable, java.util.RandomAccess {
@SuppressWarnings({"unchecked", "rawtypes"})
strictfp public final int foo() {
int x = super.hashCode();
x <<= 5;
do {
x <<= 5;
} while (Boolean.FALSE);
return x;
}
}
for (int i = 10, j[] = {20}; i < 5; i++, j[0]++) {
String z = "";
try (PrintWriter pw = new PrintWriter(System.out); PrintWriter p2 = new PrintWriter(System.out)) {
pw.println();
} finally {
synchronized (z) {
System.out.println(z);
}
}
if ((y == null)) {}
if (((y == null))) ;
{;}
java.util.List<String> list = new java.util.ArrayList<>();
assert Boolean.TRUE : "That's weird";
double d = -1.8e12;
long loooong = 0x1234ABCD;
int octal = 0127;
}
}
}
|