| 1 |
class BasicTest { |
| 2 |
// Random code just to make sure that the compound design pattern |
| 3 |
// does not throw any exceptions |
| 4 |
Object field = new Object(); |
| 5 |
String[] array = {"hello", "world"}; |
| 6 |
|
| 7 |
void foo(int arg) { |
| 8 |
field = array[0]; |
| 9 |
field.toString(); |
| 10 |
int a = 1 + arg; |
| 11 |
} |
| 12 |
} |