Neelneelchikhal.hashnode.dev·Jul 7, 2024Design Pattern - 3Decorator design pattern saves us from object explosion. Composition is a design technique in OOP which defines has-a relationship between objects. public class Job{ // methods and properties... } Person HAS-A Job public class Person{ privat...Discussdecorator design pattern
Jeniferkudrovjenifer.hashnode.dev·May 24, 2024Top 5 Java Design Patterns Every Developer Should KnowAre you planning to become a Java developer? If yes, then the following post is worth the read. It emphasizes what design patterns are, why there is a need for design patterns, the types of design patterns, and the top 5 Java design patterns every Ja...Discussdesign pattern java
Venu Madhav Emmadivenumadhavemmadi.hashnode.dev·Jan 1, 20241.1 Singleton Method - Creational Pattern: A Comprehensive GuideThere are hardly many software design patterns as popular or contentious as the Singleton pattern. This creational pattern offers a global point of access to a class's single instance while guaranteeing the class has just one instance. The Singleton ...Discuss·3 likesDesign Patterns in Software Engineeringdesign patterns
Vitthal Korvanvitthal-korvan.hashnode.dev·Nov 23, 2023Java Patterns - Level 1Pattern Programs in Java Based on: Numeric Patterns Character Patterns Star Patterns in Java Mixed patterns Pattern Programs - Level 1 Pattern Program 1:: Enter the number: 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 import java.util.S...Discuss·11 likes·145 readsJava
Tushar kanttusharkant.hashnode.dev·Oct 21, 2023Java design patternsWhat is the design pattern? In software engineering, a design pattern is a reusable solution to a common problem that can occur in software design. Design patterns provide a template or guide for creating code that solves a specific problem in a cons...Discuss·9 likesdesign pattern java
Jack Pritom Sorenjps27cse.hashnode.dev·Jun 8, 2023Software Design Pattern: Decorator PatternThe decorator pattern is a structural pattern that provides a wrapper to the existing class. It allows us to dynamically add functionality and behavior to an object without affecting the behavior of other existing objects within the same class. We us...Discussdesign pattern java
Aditya Chaudhariwww.adityatechinsights.com·Jun 6, 2023Design Patterns - important patterns understandingwhy understanding design patterns is important In the vast landscape of software engineering, design patterns act as guiding stars that illuminate our path towards building intelligent and robust software systems. These patterns are tried and tested ...Discuss·2 likes·107 readsDesign Patternsdesign patterns
Aditya Chaudhariwww.adityatechinsights.com·May 6, 2023Prototype Pattern - Java - ExplainedIntent The Prototype design pattern is a creational pattern that allows you to create new objects by cloning existing ones, rather than by creating them from scratch. The intent of the Prototype pattern is to specify the kinds of objects to create us...Discuss·29 readsDesign Patternsdesign patterns
Aditya Chaudhariwww.adityatechinsights.com·Apr 29, 2023Builder design pattern - Java - ExplainedIntent Separate the construction of the complex object from its representation so that the same construction process can create different representations.It's a creational design pattern.The main idea behind this pattern is to provide a flexible solu...Discuss·65 readsDesign Patternsdesign patterns
Aditya Chaudhariwww.adityatechinsights.com·Apr 22, 2023Proxy design pattern - Java - ExplainedIntent Provide a surrogate or placeholder for another object to control access to it.This design pattern is also known as "surrogate".It's a type of structural design pattern. Motivation behind the pattern/problem it solves? The Proxy pattern provide...Discuss·72 readsDesign Patternsdesign patterns