The UML Class Diagram composition operator describes a Class which implements a given interface or abstract class where the child cannot exist independent of the parent.

It is represented by a black filled diamond.

Example

interface Animal {
  eat(): void
}
 
class Cat {
  meow(): void
}
 
class Dog {
  bark(): void
}
 
Animal *-- Cat
Animal *-- Dog