Question: Select an appropriate expression to complete the header for the method below. public void openFile(String inputFile) ______________________________ { File theFile = new File(inputFile); Scanner data
Select an appropriate expression to complete the header for the method below.
public void openFile(String inputFile) ______________________________ { File theFile = new File(inputFile); Scanner data = new Scanner(theFile); // additional statements to input data from file }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
