- 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.
推薦閱讀
- Visual Studio 2015 Cookbook(Second Edition)
- Modern Programming: Object Oriented Programming and Best Practices
- MongoDB管理與開(kāi)發(fā)精要
- 文本數(shù)據(jù)挖掘:基于R語(yǔ)言
- 云計(jì)算服務(wù)保障體系
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析(鮮讀版)
- 商業(yè)分析思維與實(shí)踐:用數(shù)據(jù)分析解決商業(yè)問(wèn)題
- 深度剖析Hadoop HDFS
- 從0到1:JavaScript 快速上手
- 新基建:數(shù)據(jù)中心創(chuàng)新之路
- Oracle RAC日記
- MySQL技術(shù)內(nèi)幕:SQL編程
- SQL Server深入詳解
- 聯(lián)動(dòng)Oracle:設(shè)計(jì)思想、架構(gòu)實(shí)現(xiàn)與AWR報(bào)告
- 貫通SQL Server 2008數(shù)據(jù)庫(kù)系統(tǒng)開(kāi)發(fā)