/** * 4 basic types of statements: * * 1. Variable declaration * int x; * JFrame j; * * 2. Variable assignment * x = 45; * j = new JFrame(); * * 3. return * return 24.2; * return 34 + 23 / 2; * return j; * return "Monday"; * * 4. method calls * j.setVisible(true); * "hello".substring(0, 3); * * more complex statements: * if-statements */ // if (boolean-expression) { // then-part // } int i=10, j=20, max; i j max if (i