Top Posters
Since Sunday
r
4
L
4
3
d
3
M
3
l
3
V
3
s
3
d
3
a
3
g
3
j
3
New Topic  
snowicefox17 snowicefox17
wrote...
Posts: 524
4 years ago
Which of the following statements is correct to create a DataOutputStream to write to a file named out.dat?

▸ DataOutputStream outfile = new DataOutputStream(new FileOutputStream("out.dat"));

▸ DataOutputStream outfile = new DataOutputStream("out.dat");

▸ DataOutputStream outfile = new DataOutputStream(FileOutputStream("out.dat"));

▸ DataOutputStream outfile = new DataOutputStream(new File("out.dat"));
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 47 times
1 Reply
Replies
Answer verified by a subject expert
antheadanthead
wrote...
Posts: 408
4 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

snowicefox17 Author
wrote...

4 years ago
Thanks
wrote...

Yesterday
Brilliant
wrote...

2 hours ago
Helped a lot
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1653 People Browsing
Related Images
  
 68
  
 369
  
 303
Your Opinion
Which 'study break' activity do you find most distracting?
Votes: 824