Question 52:
You want to create a singleton class by using the Singleton design pattern. Which two statements enforce the singleton nature of the design? (Choose two.)
Answer options:
A. Make the class static. B. Make the constructor private. C. Override equals() and hashCode() methods of the java.lang.Object class. D. Use a public reference to point to the single instance. E. Implement the Serializable interface. F. Make the single instance created static and final.