In the declaration of the class using the Implements keyword to implement the interface, a class can implement multiple interfaces at the same time, the interface between the "," separated.
Class ClassName implements interfacename{//overriding the method in the interface;}
(1) If the class that implements the interface is not an abstract class, then all methods of the interface must be implemented, that is, the method body is declared for all abstract methods.
(2) A class must use the exact same method name and argument list when implementing an abstract method of an interface.
(3) The access control for an abstract method of an interface has been specified as public, so the class must explicitly use the public modifier when it is implemented, otherwise it is warned to narrow the access control scope of the method declared in the interface.
Project Combat: JSP Application Development _ Interface: the implementation of the interface