Design Pattern 1

Design Pattern We can divide design patterns into three board categories. 1. Creational Design Pattern: These are the ones that creates objects for you rather than instantiating them directly. This gives your program more flexibility in deciding which objects needs to be created for a given case. Ex:- Factory AbstartFactory Singelton Prototype 2. Structural Design ...