In Java, an interface is similar to a class.
Java does not use interfaces.
Java uses interfaces only in the testing methods. ...