- 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):

推薦閱讀
- Reporting with Visual Studio and Crystal Reports
- Vue.js前端開發(fā)基礎與項目實戰(zhàn)
- Hands-On Data Structures and Algorithms with JavaScript
- JIRA 7 Administration Cookbook(Second Edition)
- 從0到1:HTML+CSS快速上手
- Multithreading in C# 5.0 Cookbook
- PHP+Ajax+jQuery網(wǎng)站開發(fā)項目式教程
- INSTANT Silverlight 5 Animation
- Webpack實戰(zhàn):入門、進階與調優(yōu)(第2版)
- Building Microservices with Go
- Managing Windows Servers with Chef
- C語言從入門到精通(視頻實戰(zhàn)版)
- 現(xiàn)代JavaScript編程:經(jīng)典范例與實踐技巧
- Clojure High Performance Programming
- 快速搞定Spring Boot+Vue全棧開發(fā)