HVFrancis / WritingImplements

A simple Java project to model things to write with.
0 stars 25 forks source link

Add an Erasable interface #25

Closed HVFrancis closed 2 years ago

HVFrancis commented 3 years ago

I would like to allow for more than just pencils to be erased. So I would like to have an interface called Erasable added to the project. It needs to specify only one method, public void erase, which takes a single string parameter.

You don't need to create any classes to implement this interface.