We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59f4f21 commit f8df73bCopy full SHA for f8df73b
1 file changed
notes/JavaWeb/深入浅出IOC.md
@@ -22,7 +22,6 @@
22
23
**什么是依赖倒置原则?**假设我们设计一辆汽车:先设计轮子,然后根据轮子大小设计底盘,接着根据底盘设计车身,最后根据车身设计好整个汽车。这里就出现了一个“依赖”关系:汽车依赖车身,车身依赖底盘,底盘依赖轮子。
24
25
-<**什么是依赖倒置原则?**假设我们设计一辆汽车:先设计轮子,然后根据轮子大小设计底盘,接着根据底盘设计车身,最后根据车身设计好整个汽车。这里就出现了一个“依赖”关系:汽车依赖车身,车身依赖底盘,底盘依赖轮子。
26
27
<div align="center"> <img src="../pics/what-is-ioc/ioc1.jpg" width=""/></div><br/>
28
0 commit comments