```
class AddInts {
public static void main (String args[]) {
int i = 1;
int j = 2;
System.out.println("i is " + i);
System.out.println("j is " + j);
int k = i + j;
System.out.println("i + j is " + k);
k = i - j;
System.out.println("i - j is " + k);
}
}
```

Here's what happens when you run AddInts:

$ javac AddInts.java $ java AddInts i is 1 j is 2 i + j is 3 i - j is -1