How many types of design patterns are there?
Answer / Reshab Nigam
There are three main types of design patterns: Creational, Structural, and Behavioral. Creational patterns deal with object creation mechanisms, trying to create objects in a flexible and reusable way. Structural patterns deal with object composition, which is how objects can be composed to form larger structures. Behavioral patterns focus on communication between objects and control the algorithm's behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is identifier in java?
what is the use of abstract class and interface with example?
2 Answers Cycore, DNS, Technoram,
What is string and its types?
What are void pointers?
What is a concrete classes? Is Java object class is concrete class?
Why to use nested classes in java?
Is multiple inheritance allowed in Java? Why ?
When to use runnable interface vs thread class in java?
What is functional interface in java?
What do you mean by byte code?
Can I declare class as static or private?
Diff between C++ and java?