Operators
© examsiri.com
Question : 17 of 23
Marks:
+1,
-0
Given:
What is the result?
1. class Dims {
2.   public static void main(String[] args) {
3.    int[][] a = {{1,2,}, {3,4}};
4.    int[] b = (int[]) a[1];
5.    Object o1 = a;
6.    int[][] a2 = (int[][]) o1;
7.    int[] b2 = (int[]) o1;
8.    System.out.println(b[1]);
9. } }What is the result?
Go to Question: