|
SCJP (Sun Certified Programmer for the Java 2 Platform) tutorials |
|
|
|
Contributed by Joe
|
|
Friday, 07 July 2006 |
|
Page 2 of 7 SCJP (Sun Certified Programmer for the Java 2 Platform) tutorials 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”));
G. Which can be used to decode charS for output? A. Java.io.InputStream. B. Java.io.EncodedReader. C. Java.io.InputStreamReader. D. Java.io.InputStreamWriter. E. Java.io.BufferedInputStream.
|
|
Last Updated ( Monday, 17 July 2006 )
|