• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/3

Click to flip

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.