Created
January 18, 2023 14:29
-
-
Save alibahaaa/0d3cb5417de4626cd9f4accb6b4c7f31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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