Beginner Java Counter code
An interface ResetableCounter that supports the message void reset() in addition to those of Counter.


Your professor provides this statement to you as a hint. It is practically saying ResetableCounter should extends Counter interface.

make countVariable or count(as @200_success suggested) private. As no other outside class should have any permission to change the count.