public class Variable { public static void main(String[] args) { int i = 10; //create a variable named i of data type int int moe = 20, larry = 30; int badboy; int biggest = 2147483647; int smallest = -2147483648; System.out.println(i); //Print contents of variable. System.out.println("i"); //Print the letter "i". //System.out.println(badboy); //won't compile: uninitialized System.out.print("The values of moe and larry are "); System.out.print(moe); System.out.print(" and "); System.out.print(larry); System.out.println("."); System.exit(0); } }