网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Which constructs a DataOutputStream?()
A

 New dataInputStream(“in.txt”);

B

 New dataInputStream(new file(“in.txt”));

C

 New dataInputStream(new writer(“in.txt”));

D

 New dataInputStream(new FileWriter(“in.txt”));

E

 New dataInputStream(new InputStream(“in.txt”));

F

 New dataInputStream(new FileInputStream(“in.txt”));


参考答案

参考解析
解析: 暂无解析
更多 “单选题Which constructs a DataOutputStream?()A  New dataInputStream(“in.txt”);B  New dataInputStream(new file(“in.txt”));C  New dataInputStream(new writer(“in.txt”));D  New dataInputStream(new FileWriter(“in.txt”));E  New dataInputStream(new InputStream(“in.txt”));F  New dataInputStream(new FileInputStream(“in.txt”));” 相关考题
考题 Structured programming practices(71)rise to Pascal,in which constructs were introduced to make programs more readable and better(72). C provided a combination of assembly language and high-level Structure to create a general-purpose language that could be used from system to(73)programming. Next came object orientation,which is(74)of a methodology and design philosophy than a language issue.This is(75)by the addition of so-called OO extensions to current languages,such as C.A.givingB.givenC.gaveD.gives

考题 阅读下面程序import java.io.*;public class ByteStream Test{public static void main(String[] a){int[] myArray = {10,20.30,40};try{DataOutputStream dos = new DataOutputStream(new _________________( " ints.dat " ));for (int i=0;imyArray.length;i++)dos.writeInt(myArray[i] ) ;dos.close();S ystem.out.println( " Have written binary file ints.dat " );}catch (IOException ioc){System.out.println( " IO Exception " );}}}为保证程序正确运行,在程序中下划线处应填入的代码是A)FileOutputStreamB)ByteArrayOutputStreamC)BufferedOutputStreamD)FileWriter

考题 Java 类库中,将信息写入内存的类是A ) java.io.FileOutputStreamB ) java.io.ByteArrayOutputStreamC ) java.io.BufferedOutputStreamD ) java.io.DataOutputStream

考题 dataoutputstream类的文件流能够把各种基本类型的数据写入到二进制数据文件中。() 此题为判断题(对,错)。

考题 Thesystemanalystshaverequestedheavyuseofobjectfeatures.ThedatabasedesignmakesuseofPL/SQL8objecttypes,methods,andLOBtypes.Howdoyouworkwiththesefeaturesontheclient?() A.Writeclient-sidesubprogramscontainingthePL/SQL8constructs,andmovethemintoanobjectgroup.B.Writeserver-sidesubprograms,andcallthesubprogramsfromtheformapplication.C.StorethePL/SQL8constructsinaPL/SQLlibrary,andattackthelibrarytoeachformmuddleinyourapplication.

考题 Structured programming practices(71)rise to Pascal, in which constructs were introduced to make programs more readable and better(72)C provided a combination of assembly and high -level structure to create a general -purpose language that could be used from system to(73)programming. Next came object orientation, which is(74)of a metrology and design philosophy than a language issue. This is(75)by the addition of so - called OO extensions to current language, such as C++.A.givingB.givenC.gaveD.gives

考题 Java类库中,将信息写入内存的类是( )。A.java.io.FileOutputStreamB.java.io.ByteArrayOutputStreamC.java.io.BufferedOutputStreamD.j ava.io.DataOutputStream

考题 在J2EE中,在提供名为sock的套接字实例的前提下,为了后去通过套接字进行通信的输出流,你可以编写() A、sock.accept()B、sock.getDataOutputStreamC、sock.getOutputStreamD、new DataOutputStream(sock)

考题 Which constructs a DataOutputStream?()  A、 New dataInputStream(“in.txt”);B、 New dataInputStream(new file(“in.txt”));C、 New dataInputStream(new writer(“in.txt”));D、 New dataInputStream(new FileWriter(“in.txt”));E、 New dataInputStream(new InputStream(“in.txt”));F、 New dataInputStream(new FileInputStream(“in.txt”));

考题 Which constructs a BufferedIputStream?()A、 New BufferedInputStream(“in.txt”);B、 New BufferedInputStream(new File(“in.txt”));C、 New BufferedInputStream(Writer(“in.txt”));D、 New BufferedInputStream(new Writer(“in.txt”));E、 New BufferedInputStream(new InputStream(“in.txt”));F、 New BufferedInputStream(new FileInputStream(“in.txt”));

考题 如果我们想实现“先把要写入文件的数据先缓存到内存中,再把缓存中的数据写入文件中”的功能时,则需要使用下列哪个类?()A、 FileReaderB、 OutputStreamC、 FilterOutputStreamD、 DataOutputStream

考题 DataOutputStream数据流向文件里写数据的方法为()

考题 Which constructs a DataOutputStream?()A、 New dataOutputStream(“out.txt”);B、 New dataOutputStream(new file(“out.txt”));C、 New dataOutputStream(new writer(“out.txt”));D、 New dataOutputStream(new FileWriter(“out.txt”));E、 New dataOutputStream(new OutputStream(“out.txt”));F、 New dataOutputStream(new FileOutputStream(“out.txt”));

考题 1. public class enclosingone (  2. public class insideone{}  3. )  4. public class inertest(  5. public static void main (string[]args)(  6. enclosingone eo= new enclosingone ();  7. //insert code here  8. )  9. )    Which statement at line 7 constructs an instance of the inner class?()  A、 InsideOnew ei= eo.new InsideOn();B、 Eo.InsideOne ei = eo.new InsideOne();C、 InsideOne ei = EnclosingOne.new InsideOne();D、 EnclosingOne.InsideOne ei = eo.new InsideOne();

考题 The system analysts have requested heavy use of object features. The database design makes use of PL/SQL8 object types, methods, and LOB types. How do you work with these features on the client?()A、Write client-side subprograms containing the PL/SQL8 constructs, and move them into an object group. B、Write server-side subprograms, and call the subprograms from the form application. C、Store the PL/SQL8 constructs in a PL/SQL library, and attack the library to each form muddle in your application.

考题 单选题Which constructs a DataOutputStream?()A  New dataOutputStream(“out.txt”);B  New dataOutputStream(new file(“out.txt”));C  New dataOutputStream(new writer(“out.txt”));D  New dataOutputStream(new FileWriter(“out.txt”));E  New dataOutputStream(new OutputStream(“out.txt”));F  New dataOutputStream(new FileOutputStream(“out.txt”));

考题 单选题在下列程序的空白处,应填入的正确选项是(  )。import java.io.*; public class writeInt{ public static void main(String[] args){ int[] myArray={10,20,30,40}; try{ DataOutputStream dos=new DataOutputStream(new FileOutputStream("ints.dat")); for(int i=0;i dos.writeInt(myArray[i]); dos.close(); System.out.println("Have written binary file ints.dat"); } } catch(IOException ioe){ System.out.println("IOException"); } } }A start()B close()C read()D write()

考题 单选题The system analysts have requested heavy use of object features. The database design makes use of PL/SQL8 object types, methods, and LOB types. How do you work with these features on the client?()A Write client-side subprograms containing the PL/SQL8 constructs, and move them into an object group. B Write server-side subprograms, and call the subprograms from the form application. C Store the PL/SQL8 constructs in a PL/SQL library, and attack the library to each form muddle in your application.

考题 单选题public class enclosingone (    public class insideone{}   )   public class inertest(   public static void main (stringargs)(   enclosingone eo= new enclosingone ();    //insert code here  )  )   Which statement at line 7 constructs an instance of the inner class?()A  InsideOnew ei= eo.new InsideOn();B  Eo.InsideOne ei = eo.new InsideOne();C  InsideOne ei = EnclosingOne.new InsideOne();D  EnclosingOne.InsideOne ei = eo.new InsideOne();

考题 单选题Which constructs a BufferedIputStream?()A  New BufferedInputStream(“in.txt”);B  New BufferedInputStream(new File(“in.txt”));C  New BufferedInputStream(Writer(“in.txt”));D  New BufferedInputStream(new Writer(“in.txt”));E  New BufferedInputStream(new InputStream(“in.txt”));F  New BufferedInputStream(new FileInputStream(“in.txt”));

考题 单选题1. public class enclosingone (  2. public class insideone{}  3. )  4. public class inertest(  5. public static void main (string[]args)(  6. enclosingone eo= new enclosingone ();  7. //insert code here  8. )  9. )    Which statement at line 7 constructs an instance of the inner class?()A  InsideOnew ei= eo.new InsideOn();B  Eo.InsideOne ei = eo.new InsideOne();C  InsideOne ei = EnclosingOne.new InsideOne();D  EnclosingOne.InsideOne ei = eo.new InsideOne();

考题 单选题在J2EE中,在提供名为sock的套接字实例的前提下,为了后去通过套接字进行通信的输出流,你可以编写()A sock.accept()B sock.getDataOutputStreamC sock.getOutputStreamD new DataOutputStream(sock)

考题 单选题Dassault constructs and sells aircraft.A Right.B Wrong.C Doesn’t say.

考题 单选题What writes the text “ ” to the end of the file “file.txt”?()A  OutputStream out= new FileOutputStream (“file.txt”);   Out.writeBytes (“ /n”);B  OutputStream os= new FileOutputStream (“file.txt”, true);   DataOutputStream out = new DataOutputStream(os);  out.writeBytes (“ /n”);C  OutputStream os= new FileOutputStream (“file.txt”);   DataOutputStream out = new DataOutputStream(os);  out.writeBytes (“ /n”);D  OutputStream os= new OutputStream (“file.txt”, true);   DataOutputStream out = new DataOutputStream(os);  out.writeBytes (“ /n”);

考题 单选题Java类库中,将信息写入内存的类是(  )。A java.io.FileOutputStreamB java.io.ByteArrayOutputStreamC java.io.BufferedOutputStreamD java.io.DataOutputStream

考题 填空题DataOutputStream数据流向文件里写数据的方法为()

考题 单选题如果我们想实现“先把要写入文件的数据先缓存到内存中,再把缓存中的数据写入文件中”的功能时,则需要使用下列哪个类?()A  FileReaderB  OutputStreamC  FilterOutputStreamD  DataOutputStream