newszine

Design Patterns

7 years ago Lalit Bhagtani 0
Design Patterns in Java :- A design patterns is a well described solution to a common software problem. It provides standard approach to solve problems which provide re-usability and maintainability to code. This makes code easy to understand and debug. Gang of Four (GOF) In 1994, four authors Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides Read More

Flyweight Design Pattern

8 years ago Lalit Bhagtani 0
According to GoF (Gang of Four), flyweight design pattern intent is: “Use sharing to support large numbers of fine-grained objects efficiently” Flyweight design pattern is used when a program need to create huge (usually in thousands or in millions) number of objects of a Class that share (similar) some state among them. By using this design Read More