beginner question about arrays
in
Programming Questions
•
6 months ago
Hello
I am trying to create the array [1,1] and print it. This is the code:
- int[] list;
- list = new int[2];
- list[0] = 1;
- list[1] = 1;
- print(list);
Thanks.
1