Top Posters
Since Sunday
5
k
4
c
4
M
3
t
3
i
3
B
3
k
3
m
3
c
3
o
3
l
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 35 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
You make an excellent tutor!
wrote...

Yesterday
Brilliant
wrote...

2 hours ago
This calls for a celebration Person Raising Both Hands in Celebration
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  883 People Browsing
Related Images
  
 664
  
 243
  
 406