compiler-design-eth/javali_tests/HW4_nop90/Array/OkFieldArray.javali

13 lines
163 B
Text
Raw Permalink Normal View History

2020-01-15 22:34:57 +01:00
/* Test Arrays as Fields */
class Main {
int[] x;
void main() {
int i;
x = new int[3];
x[0] = 3;
x[1] = 4;
x[2] = 5;
}
}