100000380
Points
Questions
185
Answers
186
-
Give example of APIs in Java which uses Singleton and Factory method patterns.
- 2K views
- 1 answers
- 0 votes
-
When to use Flyweight pattern?
- 1K views
- 1 answers
- 0 votes
-
What is Flyweight pattern? Explain with example.
- 1K views
- 1 answers
- 0 votes
-
What are the benefits of using Factory pattern?
- 1K views
- 1 answers
- 0 votes
-
What is Factory pattern? Explain with example.
- 1K views
- 1 answers
- 0 votes
-
What happens when a singleton class is deployed in a clustered environment?
- 1K views
- 1 answers
- 0 votes
-
How to create thread-safe singleton objects in Java without using ‘synchronized’?
- 6K views
- 1 answers
- 0 votes
-
How to create thread-safe singleton objects in Java?
- 2K views
- 1 answers
- 0 votes
-
What is Singleton design pattern? Explain with example.
- 1K views
- 1 answers
- 0 votes
-
Explain try-with-resources statement introduced in Java 7.
- 1K views
- 1 answers
- 0 votes