You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.out.println("The first instance of AmandaInteger is even: " + amandaInteger1.isEven());
System.out.println("The second instance of AmandaInteger is odd: " + amandaInteger2.isOdd());
System.out.println("The third instance of AmandaInteger is prime: " + amandaInteger3.isPrime());
System.out.println("The int 14 is even: " + AmandaInteger.isEven(14));
System.out.println("The int 14 is odd: " + AmandaInteger.isOdd(14));
System.out.println("The int 9 is prime: " + AmandaInteger.isPrime(9));
System.out.println("The Integer 6 is even: " + AmandaInteger.isEven(Integer.valueOf(6)));
System.out.println("The Integer 19 is odd: " + AmandaInteger.isOdd(Integer.valueOf(19)));
System.out.println("The Integer 40 is prime: " + AmandaInteger.isPrime(Integer.valueOf(40)));
System.out.println("The first instance of AmandaInteger is equal to the second instance of AmandaInteger: " + amandaInteger1.equals(amandaInteger2.getAmanda()));
System.out.println("The sencond instance of AmandaIntegere is equal to the third instance of AmandaInteger: " + amandaInteger2.equals(amandaInteger3.getAmanda()));
System.out.println("The third instance of AmandaInteger is equal to the Integer 12: " + amandaInteger3.equals(Integer.valueOf(12)));