main().reset() or addItem(), that changes the object's data.Counter tally;, tally represents this specific realization of a class. . is used to invoke a member function on an object.:: links a function definition to its class.item_count and total_price