Top Posters
Since Sunday
w
5
a
3
j
2
a
2
t
2
u
2
r
2
j
2
j
2
l
2
d
2
y
2
New Topic  
Oughto Oughto
wrote...
Posts: 742
Rep: 1 0
7 years ago
What will be the result of the following code?

FileOutputStream fstream new FileOutputStream("Output.dat");
DataOutputStream outputFile = new DataOutputStream(fstream);

A) The outputFile variable will reference an object that is able to write to Output.dat as a random access file.
B) The outputFile variable will reference an object that is able to read binary data from the Output.dat file.
C) The outputFile variable will reference an object that is able to write binary data to the Output.dat file.
D) The outputFile variable will reference an object that is able to write text data only to the Output.dat file.
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 155 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Oughto Author
wrote...
7 years ago
makes a lot more sense, thanks for the help
wrote...
7 years ago
Cheers dude
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1430 People Browsing
Related Images
  
 1198
  
 355
  
 655
Your Opinion
How often do you eat-out per week?
Votes: 81