- Hands-On Design Patterns with Java
- Dr. Edward Lavieri
- 101字
- 2021-06-24 14:57:57
Portability
Portability, also referred to as modularity, is the primary benefit of OOP. With OOP, we program in a series of classes. For example, we would have a bicycle class and other classes for a complete bicycle management system. If there was a problem with a bicycle method, we immediately know to check the bicycle class. That makes source code troubleshooting efficient.
The class structure lends itself well to portability. Our example bicycle class can easily be used in other programs as it is a self-contained object. As mentioned previously, the class contains all the components of a physical bicycle.
推薦閱讀
- 數據庫應用實戰
- 數據可視化:從小白到數據工程師的成長之路
- Google Visualization API Essentials
- 數據之巔:數據的本質與未來
- 正則表達式必知必會
- 云計算與大數據應用
- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- 深度剖析Hadoop HDFS
- SQL優化最佳實踐:構建高效率Oracle數據庫的方法與技巧
- 信息學競賽寶典:數據結構基礎
- 二進制分析實戰
- Expert Python Programming(Third Edition)
- 數據庫查詢優化器的藝術:原理解析與SQL性能優化
- Learning Ansible
- 一類智能優化算法的改進及應用研究