问题描述:
[填空题] 接口可以看作是仅容纳 【10】 、常量,而又不能直接生成对象的特殊抽象类。
下列程序的功能是显示用户在命令行方式下指定的任意驱动器目录,请补充程序。 import java.iO.*; public class FindDirectories { public static void main (String args[ ]) { if(args.length= =0) args=new String[ ]".."}; try { File pathName=new File(args [0]); String[]fileName=pathName.list( ); for(int i=0;<fileName.length;i+ += { File f=new 【 】 if(f.isDirectory( )) { System.out.println(f.getCanonicalPath( )); main(new String[ ] { f.getPath( ) }); } } = catch(IOException e) { e.printStackTrace( ); } = =
下列程序中的循环体将会被执行______。 public class ex20 { public static void main(String[] args) { int x=3; do{System.out.println("Hello!"); }while(x>=0); } }
有定义boolean b1=5!=6;,则变量b1的值是【 】。
与KeyEvent相对应的接口是______,与WindowEvent相对应的接口是______。
关系代数运算是以集合运算为基础的运算,它的基本操作是 【4】 、并、差。
点评难度:
参考答案:
问题解析:
试题分享: