Match the advantages

Report a typo

Match the various implementations of singleton design patterns with their descriptions.

Match the items from left and right columns
Static field initialization
Enum-based
Double-checked locking
Static block initialization
The Singleton object is available from the start of application, unable to handle exceptions
The shortest way with eager initialization
Allows to handle exceptions during eager initialization
An implementation with lazy initialization
___

Create a free account to access the full topic