nRemember that the class needed to ‘Know’:
uthe value of count.
nWe will call this variable tally.
n
npublic
class Counter
{
n …
n private int tally;
n …
n}
// end of class Counter
n
nEvery Counter object will have a component that is an int variable named tally.