SCJP (Sun Certified Programmer for the Java 2 Platform) tutorials: Page 2

Home arrow Java Tutorials arrow SCJP(310-035) arrow SCJP (Sun Certified Programmer for the Java 2 Platform) tutorials
SCJP (Sun Certified Programmer for the Java 2 Platform) tutorials Print E-mail
User Rating: / 32
PoorBest 
Contributed by Joe   
Friday, 07 July 2006

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 )

  home              contact us

 

©2006-2009 DeveloperZone.biz   All rights reserved     powered by Mambo Designed by Siteground