array_1.java

来自「this gcc-g++-3.3.1.tar.gz is a source fi」· Java 代码 · 共 19 行

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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?