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

Verified
Correct Answer:
Verified
Q41: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q42: Select an expression to complete the program
Q43: Which of the following is the correct
Q44: Which of the following statements about using
Q45: Assume inputFile is a Scanner object used
Q47: Insert the missing code in the following
Q48: When you start a Java program from
Q49: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q50: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q51: You wish to use the Scanner class's