1 // Test of array stuff. Technically this probably isn't in java.lang.
5 public static void main (String
[] args
)
7 int x
[][] = { { 1, 2}, null };
9 System
.out
.println(Cloneable
.class.isInstance(x
));
11 // This example is from the Java Spec book.
12 int y
[][] = (int[][]) x
.clone();
13 System
.out
.println(x
== y
);
14 System
.out
.println(x
[0] == y
[0] && x
[1] == y
[1]);
16 System
.out
.println(x
.getClass().getSuperclass());