MagicLen

标签

OCPJP - 第 6 页

Oracle Certified Professional Java SE Programmer (OCPJP).

共 128 篇文章

[OCPJP] 单例模式

You want to create a singleton class by using the Singleton design pattern. Which two statements enforce the singleton nature of the design? A. Make the class static. B. Make the constructor private...