- Design Patterns and Best Practices in Java
- Kamalmeet Singh Adrian Ianculescu LUCIAN PAUL TORJE
- 119字
- 2021-06-25 20:52:29
Dependency
Dependency is one of the most generic types of UML relationship. It is used to define that one class depends in some way or other on another class, while the other class may or may not depend on the first one. A dependent relationship is used to represent relations that do not fall into one of the cases described in the following sections. Dependency is sometimes called Uses-A relationship.
In general, in object-oriented programming languages dependency is used to describe whether one class contains a parameter of the second class in the signature of a method, or whether it creates instances of the second class by passing them to other classes without using them (without invoking its methods):

推薦閱讀
- Python高級機器學習
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- Java 9模塊化開發:核心原則與實踐
- Learning Python Design Patterns
- C語言程序設計
- 程序設計基礎教程:C語言
- MongoDB,Express,Angular,and Node.js Fundamentals
- AIRIOT物聯網平臺開發框架應用與實戰
- ArcGIS for Desktop Cookbook
- 3D Printing Designs:The Sun Puzzle
- C語言程序設計教程
- Selenium Essentials
- JavaScript全棧開發
- Apple Watch極速開發
- 高并發系統:設計原理與實踐