Implementing functionality (cont.)
nQueries perform one action which is to give the value of a component variable.
nExample:
n public int count () {
n return tally;
n }
nEvery query ends with the execution of a return statement.
nSyntax: return expression
n