Answer the question
In order to leave comments, you need to log in
What pattern to use to create objects of the same type?
What pattern should be used to create objects of the same type, but with different implementations?
Different implementation of abstract methods inside and constructor.
For example, there is a button class, based on this class, buttons with a different implementation can be created.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question