What do you call a class that implements an interface?

Let's say class A implements interface B; what can we call class A with respect to interface B? In this case, class A is a "subclass" of interface B (as if B was a class), or is there a special term for implementing the interface, or not?

Thanks in advance

Edit: Alec would agree to answer if that were the answer

+7
implements oop subclass
source share
6 answers

"Interface implementation", as a rule, I heard what it is called. I am pretty sure that most developers will understand what you mean when you talk about it.

+2
source share

An “interface implementation” is generalized, and in android we usually call it an “ interface listener class ”. In your case, if A implements the B interface, then it will also implement its methods.

+1
source share
+1
source share

You do not name classes that implement any interface, at least I don’t know any specific term, they just implement a specific set of specifications and property methods, not necessarily having any relation to it in OO terms. People seem to often designate an “implementation of an interface” as “inheriting an interface”, the latter is incorrect and should be used in the correct sense (in fact, when interfaces inherit other interfaces, obviously) to avoid confusion.

TL; DR I think there is no term for him.

0
source share

We can say: A is an implementation of B

0
source share

I heard that it is called both "implementation of the interface" and "Concretion".

0
source share

All Articles