Invoking a method
n
method
: a language construct that
defines and implements a query or
command.
n
In order to invoke a method, you
must have an
instance
of the
class call the method.
n
Syntax:
instance.method()
n
Example:
c.count()