单项选择题

给出下列代码,则数组初始化中哪项是不正确的    byte[ ]array1,array2[ ];    byte array3[ ][ ];    byte[ ][ ]array4;

A.array2 = array1
B.array2 = array3
C.array2 = array4
D.array3 = array4
<上一题 目录 下一题>
热门 试题

单项选择题
在下列源代码文件Test.java中,哪个选项是正确的类定义
A. public class test{   public int x=0;   public test(int x )   {    this.x=x;   }  }
B. public class Test {   public int x=0;   public Test(int x ) {    this.x=x;    } }
C. public class Test extends T1 T2 {   public int x=0;   public Test(int x){    this.x=x;   }  }
D. protected class Test extends T2 {   public int x=0;   public Test(int x) {    this.x=x;   }  }
单项选择题
下列程序的执行结果是( )。public class Testgg {public static void main(String args[]) {float t=9.0f;int q=5;System.out.println((t++)*(- -q));}}
A.40
B.36
C.36
D.40
相关试题
  • 下列程序执行后,屏幕上显示的应是( )。...
  • 阅读下列代码public class Test 200...
  • 下列程序的执行结果是( )。public clas...
  • 子类的对象能否直接向其父类对象赋值,父类...
  • 下列说法不正确的是( )。