当前位置:SCJP程序员认证考试题库

问题:

[单选] Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()  

A . Vector filelist = ((Directory) file).getList();
B . String[] filelist = file.directory();
C . Enumeration filelist = file.contents();
D . String[] filelist = file.list();
E . Vector filelist = (new Directory(file)).files();

活动室建构的基本理念是:以活动室为科技活动的主阵地,以问题情境和任务情境为引导,以尝试、探索、设计、制作为类型,组织探索、设计、制作活动,实现在科学态度、知识、技能、方法、能力、行为、习惯方面的培养。 下列计算方法哪些不能计算出正确的点击率?() 点击费用/点击数量。 点击数量/展现数量。 推广信息费用/转化数量。 每次展现排名的总和/展现次数的总和。 新闻与历史在表现手法上的共同点是()。 时新性和知新性的统一。 纪实性和选择性的统一。 历史性和社会性的统一。 接近性和真实性的统一。 基本的气体计量系统由()组成. 一次仪表流量计。 温度测量设备。 压力测量设备。 气体组份测量设备。 二次仪表流量计算机。 预算线与无差异曲线的切点的连线形成生产扩展路线。 Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()  
参考答案:

  参考解析

本题暂无解析

在线 客服