What can you say about the file?

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Suppose a file named "numbers.txt" is on the disk and that it contains this data:

37
40
13

What can you say about the file?

 

   
Answers:
A. 

It contains the characters '3', '7', '4', '0', '1', and '3'

 
B. 

It contains the characters '3', '7', '  ', '4', '0', '  ', '1', and '3'

 
C. 

It contains the characters '3', '7', '\n', '4', '0', '\n', '1', and '3'

 
D. 

It contains the number 37, the character '\n', the number 40, the character '\n', and the number 13

 
E. 

It contains the numbers 37, 40, and 13

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning