When a Class Implements an Interface?
To Declare a Class That Implements an Interface, You Include an Implements Clause in the Class Declaration. Your Class Can Implement More Than One Interface...
To declare a class that implements an interface, you include an implements clause in the class declaration. Your class can implement more than one interface, so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.
When a class implements an interface what must it do?
A class that implements an interface must implement all the methods declared in the interface. The methods must have the exact same signature (name + parameters) as declared in the interface. The class does not need to implement (declare) the variables of an interface. Only the methods.
What is a class that implements an interface called?
"Interface implementation" is generalised while in android we usually call it "Interface Listener class". In your case if A implements interface B then it will also implement its methods.