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

推薦閱讀
- Mastering Ember.js
- 深入淺出WPF
- Python 3破冰人工智能:從入門到實戰
- Learn React with TypeScript 3
- R Data Analysis Cookbook(Second Edition)
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Cybersecurity Attacks:Red Team Strategies
- Python3.5從零開始學
- 深入理解C指針
- C語言程序設計與應用(第2版)
- Node.js 6.x Blueprints
- Kohana 3.0 Beginner's Guide
- WCF全面解析
- C語言程序設計
- MonoTouch應用開發實踐指南:使用C#和.NET開發iOS應用