Top Posters
Since Sunday
k
3
r
3
j
3
V
3
l
3
2
J
2
1
2
n
2
O
2
h
2
d
2
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 37 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
Correct Slight Smile TY
wrote...

2 hours ago
Smart ... Thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  987 People Browsing
 106 Signed Up Today
Related Images
  
 148
  
 187
  
 328
Your Opinion
What's your favorite coffee beverage?
Votes: 299