A class declaration may declare that it implements a set of interface types through one or more Implements
clauses. All the types specified in the Implements
clause must be interfaces, and the class must implement all members of the interfaces.
Declaring that a class implements an interface in and of itself does not declare anything in the declaration space of the class. Thus, it is perfectly legal to implement two interfaces with a method by the same name.