Reading a .txt file using Scanner class in Java

You have to put file extension here

File file = new File("10_Random.txt");

Leave a Comment