填空题

执行下面的程序段,输出结果为______。
public class Q public Static Void main(String args[])

int anar[]=new int[5];
System.out.println(anar[0]);

【参考答案】

0
<上一题 目录 下一题>
热门 试题

填空题
在对象流中,对象的传送首先要将所传送的对象串行化,也就是实现Serializable接口。下列代码中必须实现Serializable接口的类是______。 ObjectInput in= new ObjectInputStream(new FilelnputStream( employee.dat )); Employee[]newStaff=(Employee[1]in.readobject();
填空题
当使用Thread t=new Thread(r)创建一个线程时,表达式:r instanceof Thread的值是______。
相关试题
  • 在深度为5的完全二叉树中,度为2的结点数...
  • 以下程序中给指针p分配三个double型动态内...
  • 对二进制数进行算术右移的运算符是____...
  • 在面向对象的程序设计中,类描述的是具有相...
  • 要使处于不同层次,甚至是互不相关的类可以...