DriveNineChecker

DriveNineChecker - return checker.allFound( ); } public...

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

View Full Document Right Arrow Icon
public class DriveNineChecker{ public static boolean test(int [ ] nine){ NineChecker checker = new NineChecker( ); for (int k = 0; k<9; k++){ checker.mark(nine[k]); }
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: return checker.allFound( ); } public static void main(String [ ] args){ int test1 [ ] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; System.out.println(test(test1)); } }...
View Full Document

This note was uploaded on 07/12/2009 for the course CS 111 taught by Professor Hari during the Fall '08 term at Rutgers.

Ask a homework question - tutors are online