What is wrong with the following line of code? Scanner input = new Scanner(test.dat);

Question:

What is wrong with the following line of code?

Scanner input = new Scanner("test.dat");

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: