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...