SudokuMain - Scanner infile = new Scanner(new...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.Scanner; import*; public class SudokuMain { public static void main(String[] args) throws IOException { String filename; Scanner kb = new Scanner(; System.out.print("filename: "); filename =;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Scanner infile = new Scanner(new FileReader(filename)); Sudoku puzzle = new Sudoku(infile); puzzle.display(System.out); puzzle.checkValid(System.out); // display valid or not } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online