Question: What is wrong with the following line of code? Scanner input = new Scanner(new File(C:temp ew filestest.dat));
What is wrong with the following line of code?
Scanner input = new Scanner(new File("C:\temp\new files\test.dat"));
Step by Step Solution
3.38 Rating (167 Votes )
There are 3 Steps involved in it
The file name string should use or inste... View full answer
Get step-by-step solutions from verified subject matter experts
