next up previous
Next: 1.2.2 Java Expressions Up: 1.2 Java Mechanics Previous: 1.2 Java Mechanics

1.2.1 Notation and Syntax

In Scheme, programs are constructed from expressions. In contrast, Java programs are constructed from statements--program phrases that do not have values--similar to Scheme expressions like (define ...) that return the dummy value (void). But many Java statements contain simple expressions, so let us look briefly at Java expressions.

Corky Cartwright