J.P. Morgan Interview Question

Write a java code to check validity in a 9x9 Suduku board.