About Us Contact Us Write for Us Advertise
Home>All Articles

All Articles

Browse through all our published articles and discover knowledge across various topics

504 Articles
Template Method Pattern in Java (with Example) System Design › Low-Level Design

Template Method Pattern in Java (with Example)

The Template Method pattern explained: define an algorithm's fixed skeleton in a base class and let subclasses fill in the varying steps. The Hollywood Principle, Template Method vs Strategy, Java code and UML.

Read More →
59 views 3 min
Command Pattern in Java (with Undo Example) System Design › Low-Level Design

Command Pattern in Java (with Undo Example)

The Command pattern explained: wrap a request as an object with execute() and undo(), decoupling invoker from receiver — unlocking undo/redo, queuing, logging, and macros. Java code, UML, when to use.

Read More →
71 views 3 min
State Pattern in Java (with Example) System Design › Low-Level Design

State Pattern in Java (with Example)

The State pattern explained: an object changes behaviour as its internal state changes by delegating to a state object, with each state its own class driving transitions — the clean way to build a state machine. State vs Strategy, code, UML.

Read More →
100 views 3 min
Observer Pattern in Java (with Example) System Design › Low-Level Design

Observer Pattern in Java (with Example)

The Observer pattern explained: a subject notifies a list of observers automatically when its state changes — the pub/sub, event-listener, and MVC pattern. Push vs pull, Java code, UML, when to use.

Read More →
113 views 3 min
Strategy Pattern in Java (with Example) System Design › Low-Level Design

Strategy Pattern in Java (with Example)

The Strategy pattern explained: put each interchangeable algorithm in its own class behind a common interface and swap it at runtime, replacing giant if/else chains. Java code, UML, Strategy vs State, when to use.

Read More →
107 views 3 min
Composite Pattern in Java (Tree Structures) System Design › Low-Level Design

Composite Pattern in Java (Tree Structures)

The Composite pattern explained: treat individual objects and groups of objects uniformly through one interface, for tree / part-whole structures like file systems and UI trees. Java code, UML, when to use.

Read More →
76 views 3 min
Proxy Pattern in Java (Virtual, Protection, Remote) System Design › Low-Level Design

Proxy Pattern in Java (Virtual, Protection, Remote)

The Proxy pattern explained: a stand-in that controls access to a real object — virtual (lazy load), protection (access control), remote, and caching proxies. Proxy vs Decorator, Java code, and real examples.

Read More →
80 views 3 min
Facade Pattern in Java (with Example) System Design › Low-Level Design

Facade Pattern in Java (with Example)

The Facade pattern explained: put one simple method in front of a complex subsystem of many classes, hiding the mess and decoupling callers. Facade vs Adapter, Java code, UML, and when to use it.

Read More →
77 views 2 min
Decorator Pattern in Java (with Example) System Design › Low-Level Design

Decorator Pattern in Java (with Example)

The Decorator pattern explained: add behaviour to an object at runtime by wrapping it, stacking features like milk and sugar on coffee — instead of a subclass explosion. Java I/O streams, code, UML, when to use.

Read More →
98 views 3 min
Adapter Pattern in Java (with Example) System Design › Low-Level Design

Adapter Pattern in Java (with Example)

The Adapter pattern explained: wrap a class with an incompatible interface so it works with the interface your code expects — like a travel plug adapter. Integrating third-party/legacy code, with Java code and UML.

Read More →
95 views 3 min
Prototype Pattern in Java (Shallow vs Deep Copy) System Design › Low-Level Design

Prototype Pattern in Java (Shallow vs Deep Copy)

The Prototype pattern explained: create new objects by cloning an existing one instead of expensive construction. The shallow-vs-deep-copy gotcha, Java Cloneable, and when to use it. With code and UML.

Read More →
85 views 3 min
Distance MBA vs Regular MBA in India (2026): Fees, Salary & ROI Compared News

Distance MBA vs Regular MBA in India (2026): Fees, Salary & ROI Compared

Distance, Online or Regular MBA? Compare fees in ₹, salary in LPA, placements, UGC/AICTE recognition and ROI to pick the right MBA in India in 2026.

Read More →
264 views 10 min
Showing 25 to 36 of 504 articles