Java SE 8 Programmer II Practice Questions - Oracle Certified Professional, Java SE 8 Programmer II (Exam 1Z0-809) Exam

Access More Questions
Given a thread-safe singleton implemented with an enum: public enum Config { INSTANCE; private int v = 1; } Which statement about this pattern is TRUE?
Correct Answer:
It provides serialization safety and guards against reflection-based instantiation automatically

Access more questions from this quiz

Continue to Java SE 8 Programmer II Practice Questions - Oracle Certified Professional, Java SE 8 Programmer II (Exam 1Z0-809) Exam for more practice questions and the full quiz experience.

Access More Questions