Skip to content

Instantly share code, notes, and snippets.

@alibahaaa
Created January 18, 2023 14:29
Embed
What would you like to do?
class ConcreteProductA1 : ProductA {
override fun use() {
// implementation
}
}
class ConcreteProductA2 : ProductA {
override fun use() {
// implementation
}
}
class ConcreteProductB1 : ProductB {
override fun use() {
// implementation
}
}
class ConcreteProductB2 : ProductB {
override fun use() {
// implementation
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment