Login
Remember
Register
Ask a Question
Recent questions and answers in Design Patterns
0
votes
1
answer
Write a Java program to print Diamond Number Pattern.
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
printdiamondnumberpattern
0
votes
1
answer
Write a Java Program to display the left triangle star pattern on the system console.
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
lefttrianglestarpattern
0
votes
1
answer
Write a Java Program to display the pyramid as per the below design.
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
design-pattern
0
votes
1
answer
What would happen if we do not have a synchronized method for returning Singleton instance in a multi-threaded environment?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
returningsingletoninstance
0
votes
1
answer
How can you achieve thread-safe singleton patterns in Java?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
singletonpatterns
0
votes
1
answer
What is the main advantage of using a prototype design pattern over object creation using a new keyword?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
prototypedesignpattern
0
votes
1
answer
What are the components of the Composite Entity pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
compositeentitypattern
0
votes
1
answer
What is the MVC design pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
mvcdesignpattern
0
votes
1
answer
What do you understand by the Null Object pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
nullobjectpattern
0
votes
1
answer
Consider a scenario where you are writing classes for providing market data and we have the flexibility to switch to different vendors or we can be directed to the Direct Exchange Feed. How will you approach this problem to design the system?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
directexchangefeed
0
votes
1
answer
What problem does Builder Pattern try to solve?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
builderpattern
0
votes
1
answer
What is an Observer Design Pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
observerdesignpattern
0
votes
1
answer
What is a Command pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
commandpattern
0
votes
1
answer
What is Decorator Design Pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
decoratordesignpattern
0
votes
1
answer
What is a Chain of Responsibility pattern? In what scenarios to apply this pattern?
answered
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
chainresponsibilitypattern
0
votes
1
answer
What are some instances where we prefer abstract classes over interfaces in Java?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
abstractclasses
0
votes
1
answer
What is a Bridge Design Pattern?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
bridgedesignpattern
0
votes
2
answers
What is Adapter design pattern ?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
adapter-design
adapter-design-pattern
adapter-pattern
0
votes
1
answer
What is a Factory Design Pattern?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
factorydesignpattern
0
votes
1
answer
How are design patterns different from algorithms?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
algorithmsdesignpatterns
0
votes
1
answer
How are design principles different from design patterns?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
principlesdesignpatterns
0
votes
1
answer
What are some of the design patterns used in Java’s JDK library?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
designpatterns
0
votes
1
answer
What do you understand by the Open-Closed Principle (OCP)?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
open-closedprinciple
ocp
0
votes
1
answer
What are the SOLID Principles?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
solidprinciples
0
votes
1
answer
What Is Gang of Four (GOF) in Design Patterns?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
gangoffour
gofdesignpatterns
0
votes
1
answer
How can you describe a design pattern?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
designpattern
+1
vote
1
answer
What are the advantages of Java Design Patterns?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
advantages
javadesignpatterns
0
votes
1
answer
What are design patterns?
answered
Jul 23, 2023
in
Design Patterns
by
Robindeniel
design
patterns
0
votes
1
answer
What are the features and advantage of WCF?
answered
Aug 12, 2020
in
Design Patterns
by
RShastri
#wcf
+1
vote
1
answer
Provide some scenarios when we could use WCF services
answered
Aug 12, 2020
in
Design Patterns
by
RShastri
#wcf
To see more, click for all the
questions in this category
.
Recent questions and answers in Design Patterns
...