You can change values 5 and 2 before starting animation
Output
Variable Name     Value in Memory
            i
            j
            k
num1
num2
result
  1  public class TestMax {
  2    /** Main method */
  3    public static void main(String[] args) {
  4      int i = ;
  5      int j = ;
  6      int k = max(i, j);
  7      System.out.println("The maximum between " + i +
  8        " and " + j + " is " + k);
  9    }
 10  
 11    /** Return the max between two numbers */
 12    public static int max(int num1, int num2) {
 13      int result;
 14  
 15      if (num1 > num2)
 16        result = num1;
 17      else
 18        result = num2;
 19  
 20      return result;
 21    }
 22  }