Untitled

 avatar
unknown
plain_text
2 years ago
270 B
5
Indexable
public class Main {
    public static void main(String[] args) {
        int[][] arr = {
            {1, 2, 3, 4}, 
            {5, 6, 7, 8}, 
            {9, 10, 11, 12}
        };

        System.out.println("The element in row 3, column 2 is: " + arr[2][1]);
    }
}
Editor is loading...