浏览代码

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