Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
3 Cards in this Set
- Front
- Back
How can you create Singleton class in java? |
Private constructor, and only creafe one instance |
|
What is the benefit of factory pattern |
Factory pattern encapsulates the implementation details and underlying implementation can be changed without any impact on caller api. |
|
What is builder pattern |
Builder pattern builds a complex object using simple objects and using a step by step approach. This builder is independent of other objects. |