More on methods (cont.)
n
A command invocation is a form of
a
statement
.
A query is a form of
expression
,
since it produces a
value.
n
Examples:
n
i = c.count();
n
i = c.count() + 10;
n