瀏覽代碼

Update README.md

Git-Leon 7 年之前
父節點
當前提交
870caebb7d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -99,7 +99,7 @@
99 99
 
100 100
 -
101 101
 # Part 7.1 - Create `MyCohort` singleton
102
-* **Note:** The creation of this class will demonstrate an implementation of [singleton design pattern](https://www.journaldev.com/1377/java-singleton-design-pattern-best-practices-examples).
102
+* **Note:** The creation of this class will demonstrate an implementation of [singleton design pattern](https://www.journaldev.com/1377/java-singleton-design-pattern-best-practices-examples#eager-initialization).
103 103
 * Create a `MyCohort` class.
104 104
 	* The class should be a subclass of the `People` class.
105 105
 	* The class should _statically instantiate_ a `final` field named `INSTANCE` of type `MyCohort`.