Multiple Choice
Insert the missing code in the following code fragment.This fragment is intended to read an input file named dataIn.txt that resides in a folder named payroll on the C: drive of a Windows system.
A) new File(c://payroll//"dataIn.txt")
B) new File("c:\payroll\dataIn.txt")
C) new File("c:\\payroll\\dataIn.txt")
D) new File(c:/payroll/"dataIn.txt")
Correct Answer:

Verified
Correct Answer:
Verified
Q70: Insert the missing code in the following
Q71: Assuming that inputFile is a Scanner object
Q72: Which method of an exception object will
Q73: You have opened a command prompt window
Q74: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q76: Which of the following statements about white
Q77: Insert the missing code in the following
Q78: Which of the following code snippets about
Q79: Your program will read in an existing
Q80: Insert the missing code in the following