If a method's parameters are modified is it still considered implementing an interface?


In this exercise it states that when two classes have the same method names and attributes they implement the same interface. If an extra parameter is added to the method, is it still considered to implement the interface?


NO. If the signature of the method is changed then it is not implementing the interface. The methods must share the same name and attributes to be considered as implementing the interface.