Design Pattern in Java - Part 2, State Design PatternIt is one of the behavioral design pattern. This pattern can be used when we have different state of an object. With the help of this pattern we can decide the action of object in a particular state. We can decide the object's behaviour and block the...Nov 1, 2022 · 3 min readanshul007.hashnode.dev
Design Pattern in Java - Part 1, Strategy Design PatternDesign patterns are the principle for oops. By using the right design pattern we can write code that is manageable, reusable, scalable, etc. There are a lot of design patterns to use in LLD. It depends on the use case in which one can be used. Here I...1NOct 6, 2022 · 2 min readanshul007.hashnode.dev