Skip to content

Commit 620eb2d

Browse files
committed
Update Java Notes
1 parent 0bbc1d2 commit 620eb2d

File tree

2 files changed

+33
-1419
lines changed

2 files changed

+33
-1419
lines changed

Java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18776,7 +18776,7 @@ CGLIB 的优缺点
1877618776

1877718777
* 优点:
1877818778
* 代理模式在客户端与目标对象之间起到一个中介作用和保护目标对象的作用
18779-
* 代理对象可以扩展目标对象的功能
18779+
* **代理对象可以增强目标对象的功能,内部持有原始的目标对象**
1878018780
* 代理模式能将客户端与目标对象分离,在一定程度上降低了系统的耦合度
1878118781

1878218782
* 缺点:增加了系统的复杂度

0 commit comments

Comments
 (0)