What are design patterns ?

Posted by : Rakesh Sinha
Posted On : 9/5/2015 12:16:27 AM
Posted As :Question Answers
Category :Software Development
View : 474
                 
There are three basic classification of patterns Creational, Structural and Behavioral patterns. Creational Patterns v Abstract Factory:- Creates an instance of several families of classes v Builder :- Separates object construction from its representation v Factory Method:- Creates an instance of several derived classes v Prototype:- A fully initialized instance to be copied or cloned v Singleton:- A class in which only a single instance can exist Structural Patterns v Adapter:-Match interfaces of different classes. v Bridge:-Separates an object’s interface from its implementation. v Composite:-A tree structure of simple and composite objects. v Decorator :-Add responsibilities to objects dynamically. v Façade:-A single class that represents an entire subsystem. v Flyweight:-A fine-grained instance used for efficient sharing. v Proxy:-An object representing another object. Behavioral Patterns v Mediator:-Defines simplified communication between classes. v Memento:-Capture and restore an objects internal state. v Interpreter:-A way to include language elements in a program. v Iterator:-Sequentially access the elements of a collection. v Chain of Resp:-A way of passing a request between a chain of objects. v Command:-Encapsulate a command request as an object. v State:-Alter an objects behavior when its state changes. v Strategy:-Encapsulates an algorithm inside a class. v Observer:-A way of notifying change to a number of classes. v Template Method:-Defer the exact steps of an algorithm to a subclass. v Visitor:-Defines a new operation to a class without change.
 
when a Project really is Agile
Submitted in: Ask Question | Category: Project Management
what is Data Binding?
Submitted in: Ask Question | Category: Software Development
how to pass data from one activity to another activity?
Submitted in: Ask Question | Category: Software Development
What is Data Annotations ?
Submitted in: Ask Question | Category: Software Development
What is difference between $Scope and $rootScope ?
Submitted in: Ask Question | Category: Software Development
What is difference between TextBox and TextBoxFor?
Submitted in: Ask Question | Category: Software Development
how to send selected data to another page on button click
Submitted in: Ask Question | Category: Software Development
what is attribute routing in asp.net mvc
Submitted in: Ask Question | Category: Software Development
What’s an Object ?
Submitted in: Ask Question | Category: Software Development
What is the Android Architecture?
Submitted in: Ask Question | Category: Software Development
What is difference between account payable and bills payable?
Submitted in: Ask Question | Category: Accounting
What is the diff. between abstract class & interface
Submitted in: Ask Question | Category: Software Developement

All rights reserved to Interviewfunda.com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. While using this site, you agree to have read and accepted our terms of use and privacy policy. Best viewed at 1024 x 768 resolution with Internet Explorer 5.0 or Mozila Firefox 3.5 or Google Crome and higher