// test selected numbers whether they are prime // variant using long (>4) arg list // prints sequence of test value and int-encoded isprime? // expected output: // 1 // 0 // 2 // 1 // 3 // 1 // 4 // 0 // 5 // 1 // 10 // 0 // 87 // 1 // 999 // 10 class TestPrime { public static void main(String[] a){ System.out.println((new Prime()).test_it(1,2,3,4,5,10,87)); } } class Prime { public boolean or (boolean a, boolean b) { return !(!a && !b); } public boolean divides (int m, int n) { int i; boolean found; i=1; found=false; while (!found && i