Punctuation Terminology

You might find it useful to refer back to this table in the chapters ahead.

These characters are called parentheses: ( ). They go around expressions and parameter lists.

These characters are called square brackets: [ ]. They go around array indexes.

These characters are called braces or curly braces: { }. They indicate the start and end of a new block of code, or an array literal.

These characters are called angle brackets: < >. They go around generic parameters.

image

The ellipsis token ... came into Java in JDK 1.5. It indicates the last argument to a method is a sequence of objects.

Get Just Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.