转载地址:https://www.php.cn/java/base/476780.html
菜鸟教程:https://www.runoob.com/design-pattern/singleton-pattern.html