// Marty Stepp // CSE 142 Autumn 07 // // This program prints some really useful expressions and variables. public class Expressions { public static void main(String[] args) { int x; double y; x = 1 + 2; y = 3.0; // the line below would not compile // x = 3.5; System.out.println(x * 2 + 1); System.out.println(x + y); } }