Skip to content

Commit 3cfe841

Browse files
committed
Java:单例模式的七种写法
1 parent 9242525 commit 3cfe841

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Java_Singleton/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
###Java:单例模式的七种写法
1+
### Java:单例模式的七种写法
22
**第一种(懒汉,线程不安全):**
33

44
public class Singleton {

0 commit comments

Comments
 (0)