title: How to store multiple variables in this code?
body: <p>I'm writing a program to find out if a number is even or odd and I have all of the code working, but I don't know how to write in other examples. Here is the code I have so far:</p>
  
  <pre><code>import static java.lang.System.*;
  
  public class numberverify
  {
      public static boolean isOdd( int num)
      {
          return ((num % 2) == 1);
  
      }
      public static boolean isEven( int num)
      {
          return ((num % 2) == 0);
  
      }   
  }
  </code></pre>
  
  <p>and the runner:</p>
  
  <pre><code>import static java.lang.System.*;
  import java.util.Scanner;
  
  public class numberverifyrunner
  {
      public static void main ( String[] args )
      {
          Scanner keyboard = new Scanner(in);
  
          System.out.print("Enter an Integer :: ");
          int num = keyboard.nextInt();
  
          System.out.println( num + " is odd  :: " + numberverify.isOdd(num));
          System.out.println( num + " is even :: " + numberverify.isEven(num) + "\n");
  
          //add in more test cases
      }
  }
  </code></pre>