term1 Definition1term2 Definition2term3 Definition3
Please sign in to your Google account to access your documents:
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.
Need help typing ? See our FAQ (opens in new window)
Please sign in to create this set. We'll bring you back here when you are done.
Discard Changes Sign in
Please sign in to add to folders.
Sign in
Don't have an account? Sign Up »
You have created 2 folders. Please upgrade to Cram Premium to create hundreds of folders!