Design Patterns : Performance

use the flyweight pattern to reduce object creation [The flyweight pattern uses a factory instead of 'new' to reuse objects rather than always create new ones]. The Singleton pattern and the Flyweight (object factory) pattern are useful to limit numbers of objects of various types and to assist with object reuse and reduce garbage collection. [...]

Design Patterns : Drill

What is a design pattern.————————————–“Design patterns are recurring solutions to design problems you see overAlpert, et. al., 1998).“Design patterns constitute a set of rules describing how to accomplish certain tasks in the realm of software development.” (Pree, 1994) How many catogeries are there in Java patterns.————————————————–Creational patterns are ones that create objects for you, rather [...]

Java Design Pattern

1.What is a design pattern.2.How many catogeries are there in Java patterns.3. How many patterns did you use in your project.4.Give me an example of Creational Patterns.5.What is Singleton pattern. Where did you use it.6.How do you use Factory pattern.7.Can explaing examples of Structural Patterns.8.What is difference between adapter pattern and decorator pattern.9.What is Facade [...]

Follow

Get every new post delivered to your Inbox.