Question Cagtegory: Design Pattern
Filter by
Filter by
Questions Per Page:
-
What is Singleton design pattern? Explain with example.
- 1K views
- 1 answers
- 0 votes
-
How to create thread-safe singleton objects in Java?
- 1K views
- 1 answers
- 0 votes
-
How to create thread-safe singleton objects in Java without using ‘synchronized’?
- 5K views
- 1 answers
- 0 votes
-
What happens when a singleton class is deployed in a clustered environment?
- 994 views
- 1 answers
- 0 votes
-
What is Factory pattern? Explain with example.
- 966 views
- 1 answers
- 0 votes
-
What are the benefits of using Factory pattern?
- 1K views
- 1 answers
- 0 votes
-
What is Flyweight pattern? Explain with example.
- 878 views
- 1 answers
- 0 votes
-
When to use Flyweight pattern?
- 973 views
- 1 answers
- 0 votes
-
Give example of APIs in Java which uses Singleton and Factory method patterns.
- 2K views
- 1 answers
- 0 votes
-
What is Template Method pattern? Explain with example.
- 966 views
- 1 answers
- 0 votes