易搜题 > 资格证大类 > 计算机编程 > 问题详情
问题详情

Which two create an InputStream and open file the “file.txt” for reading? ()

A

 InputStream in=new FileReader(“file.txt”);

B

 InputStream in=new FileInputStream(“file.txt”);

C

 InputStream in=new InputStreamFileReader (“file.txt”, “read”);

D

 FileInputStream in=new FileReader(new File(“file.txt”));

E

 FileInputStream in=new FileInputStream(new File(“file.txt”));

未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。 收藏该题
查看答案

相关问题推荐

  • 管理员需要做什么样的设置才能允许一个普通用户在没有获得管理员权限的情况下安装一个存储设备在可信任发行商列表中?()

    A

    在设备管理器中察看设备类的GUID在本地组策略控制台中, 设置允许非管理员用户安装驱动并关联该GUID

    B

    在注册表编辑器中找到 HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/ Current Version and 双击 DevicePath ,添加c:

    C

    将设备驱动复制到信任的发行商区域。

    D

    将设备驱动复制到设备驱动存储区域.

  • static void test() throws RuntimeException {  try {  System.out.print(”test “);  throw new RuntimeException();  }  catch (Exception ex) { System.out.print(”exception “); }  }  public static void main(String[] args) {  try { test(); }  catch (RuntimeException ex) { System.out.print(”runtime “); }  System.out.print(”end “);  }  What is the result?() 

    A、 test end

    B、 Compilation fails.

    C、 test runtime end

    D、 test exception end

    E、 A Throwable is thrown by main at runtime.

  • VRML is a(1)for 3D multimedia and shared virtual worlds on the WWW. In comparison to HTML, VRML adds the next level of interaction, structured graphics, and extra(2)(z and time) to the presentation of documents. The applications of VRML are(3),ranging from simple business graphics to entertaining WWW page graphics, manufacturing, scientific, entertainment, and educational applications, and 3D shared virtual worlds and communities. X3D is the name under which the development of VRML is continued. X3D is based on XML and is backwards(4)with VRML. Furthermore, it is componentized, profiled, and extensible, which makes it possible to use X3D in very different(5),from high-end visualizations to lightweight applications. 空白(2)处应选择()

    A、subject

    B、object

    C、dimensions

    D、disconnection

  • Microsoft's COM is a software(1)that allows applications to be built from binary software components. COM is the underlying architecture that forms the foundation for higher-level software services, like those provided by OLE. COM defines a binary standard for function calling between components,a way for components to dynarmically discover the interfaces implemented by other components, and amechanism to identify components and their interfaces uniquely. OLE is a compound(2)standard developed by Microsoft. OLE makes it possible to create(3)with one application and link or embed them in a second application.Embedded objects retain their original format and(4)to the application that created them. Support for OLE is builtinto the Windows and MacOS Operating Systems.A(5)compound document standard developed mainly by Apple and IBM is called OpenDoc. 空白(5)处应选择()

    A、completing

    B、competing

    C、connecting

    D、contained

  • SDH复用映射结构中的同步传送模块由N个STM-l信呼以同步复用方式构成,它代表一个具有()速率的STM—N信号的帧。

联系客服 会员中心
TOP