design-patterns

[object Object]
Proxy Design Pattern in OOPS

In object-oriented programming, Proxy is a structural design pattern that provides a placeholder for another object to control its access. Here proxy object works as an intermediary between the client and the real object so that the client will interact with the proxy instead of the real object.

[object Object]
Singleton Design Pattern in OOPS

Some objects might be common to all parts of the program, and we require a single instance of it. Singleton is a creational design pattern that ensures that a class has only one instance throughout the application. This restricts the instantiation of a class to one object, which is accessible from any part of the application with global access.

[object Object]
Builder Design Pattern

The Builder is a creational design pattern that allows us to follow a step-by-step process to construct a complex object. Builder design pattern separates the construction of the complex object from its representation by which the same process can create different representations (types) of the complex object.

Subscribe Our Newsletter

Subscribe to get well designed content on data structure and algorithms, machine learning, system design, object orientd programming and math.

© 2022 Code Algorithms Pvt. Ltd.

All rights reserved.