Multiple Choice
Insert the missing code in the following code fragment.This fragment is intended to read an input file named dataIn.txt and write to an output file named dataOut.txt.
A) new File(inputFile)
B) new File(System.in)
C) new File(outputFileName)
D) new File(inputFileName)
Correct Answer:

Verified
Correct Answer:
Verified
Q17: Assume inputFile is a Scanner object used
Q18: Insert the missing code in the following
Q19: Which String class method will remove spaces
Q20: Consider the following code snippet:<br>public static void
Q21: Which method of the JFileChooser object will
Q23: Which of the following statements reflects the
Q24: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q25: Insert the missing code in the following
Q26: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q27: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"