Implementing the
Constructor
n
The constructor is invoked when creating
a new instance of an object.
n
It initializes the component variables of
the object.
n
n
public
counter () {
n
tally = 0;
n
}
n