Given that myfile.txt contains: What is the result?
A.
compilation fails
B.
an exception is thrown at runtime
C.
newfile.txt is empty
D.
new file.txt contains: 1: First 2: Second 3: Third
E.
new file.txt contains: 1: First 2: Second 3: Third
Explanation:
Possible answers should be read like this :
A.
compilation fails
B.
an exception is thrown at runtime
C.
newfile.txt is empty
D.
newfile.txt contains:
1: First
2: Second
3: Third
E.
newfile.txt contains:
1: First 2: Second 3: Third