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.
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.