Tag: prototype

  • How to implement Prototype pattern in Java?

    Lets say you run a modelling agency. You are creating an application to manage your models. They are of different types – actors, male and female , can do anchoring , can play the role of video jockey , can act in cinema etc. To design classes for the above use case , you could…