source:
trunk/yao/share/antlr-2.7.7/examples/cpp/java/tests/T.java
Last change on this file was 1, checked in by lnalod, 15 years ago | |
---|---|
File size: 383 bytes |
Line | |
---|---|
1 | class T { |
2 | static { int i; } |
3 | |
4 | public T() { |
5 | this( (int) (r * 255), (int) (g * 255)); |
6 | } |
7 | |
8 | void foo() { |
9 | final class U { int i; } |
10 | Class c = int[].class; |
11 | Class d = Object[].class; |
12 | t.new T(); |
13 | ((T)t).method(); |
14 | return "[i=" + (value) + "]"; |
15 | int q = (int)+3; |
16 | int z = (int)4; |
17 | int y = (z)+5; |
18 | String s = (String) "ff"; |
19 | String t = (s)+"blort"; |
20 | } |
21 | } |
Note: See TracBrowser
for help on using the repository browser.