Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Design Patterns Interview Questions and Answers
Home
Questions
Design Patterns
0
votes
Q: Write a Java program to print Diamond Number Pattern.
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
printdiamondnumberpattern
0
votes
Q: Write a Java Program to display the left triangle star pattern on the system console.
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
lefttrianglestarpattern
0
votes
Q: Write a Java Program to display the pyramid as per the below design.
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
design-pattern
0
votes
Q: What would happen if we do not have a synchronized method for returning Singleton instance in a multi-threaded environment?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
returningsingletoninstance
0
votes
Q: How can you achieve thread-safe singleton patterns in Java?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
singletonpatterns
0
votes
Q: What is the main advantage of using a prototype design pattern over object creation using a new keyword?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
prototypedesignpattern
0
votes
Q: What are the components of the Composite Entity pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
compositeentitypattern
0
votes
Q: What is the MVC design pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
mvcdesignpattern
0
votes
Q: What do you understand by the Null Object pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
nullobjectpattern
0
votes
Q: 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?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
directexchangefeed
0
votes
Q: What problem does Builder Pattern try to solve?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
builderpattern
0
votes
Q: What is an Observer Design Pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
observerdesignpattern
0
votes
Q: What is a Command pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
commandpattern
0
votes
Q: What is Decorator Design Pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
decoratordesignpattern
0
votes
Q: What is a Chain of Responsibility pattern? In what scenarios to apply this pattern?
asked
Jul 24, 2023
in
Design Patterns
by
SakshiSharma
chainresponsibilitypattern
0
votes
Q: What are some instances where we prefer abstract classes over interfaces in Java?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
abstractclasses
0
votes
Q: What is a Bridge Design Pattern?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
bridgedesignpattern
0
votes
Q: What is a Factory Design Pattern?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
factorydesignpattern
0
votes
Q: How are design patterns different from algorithms?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
algorithmsdesignpatterns
0
votes
Q: How are design principles different from design patterns?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
principlesdesignpatterns
0
votes
Q: What are some of the design patterns used in Java’s JDK library?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
designpatterns
0
votes
Q: What do you understand by the Open-Closed Principle (OCP)?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
open-closedprinciple
ocp
0
votes
Q: What are the SOLID Principles?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
solidprinciples
0
votes
Q: What Is Gang of Four (GOF) in Design Patterns?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
gangoffour
gofdesignpatterns
0
votes
Q: How can you describe a design pattern?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
designpattern
+1
vote
Q: What are the advantages of Java Design Patterns?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
advantages
javadesignpatterns
0
votes
Q: What are design patterns?
asked
Jul 23, 2023
in
Design Patterns
by
Robindeniel
design
patterns
0
votes
Q: What are the features and advantage of WCF?
asked
Aug 12, 2020
in
Design Patterns
by
RShastri
#wcf
+1
vote
Q: Provide some scenarios when we could use WCF services
asked
Aug 12, 2020
in
Design Patterns
by
RShastri
#wcf
0
votes
Q: Can we create a clone of a singleton object?
asked
Aug 12, 2020
in
Design Patterns
by
RShastri
#design_pattern
Page:
1
2
3
4
next »
...