Quantcast
Channel: They point the finger at me.. again! » creational
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Implementing Prototype pattern

Prototype pattern Definition: the pattern is used to create a clone avoiding another creation. We clone the object if the cost of creating the object is expensive than cloning it. Example: participant...

View Article



Image may be NSFW.
Clik here to view.

Singleton pattern revisited

Singleton pattern Definition: At any point of time we ensure that there is only object created for the class Example: participant classes: Singleton.java SingletonClient.java(client) Diagram:...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images