What must a class do to implement an interface
It must provide all of the methods in the interface and identify the interface in its implements clause. In Java, to implement an interface, a class must do the following: Use the implements keyword: In the class declaration, use the implements keyword followed by the name of the interface that you want the class to … Read more