- Hands-On Design Patterns with Java
- Dr. Edward Lavieri
- 131字
- 2021-06-24 14:58:01
Summary
This chapter started with an introduction to OOP. Portability, inheritance, encapsulation, and polymorphism were deemed to be the primary benefits of OOP and were explored. A sample OOP class was examined in detail. That class, the Bicycle class, was used to demonstrate key OOP concepts to include instance variables, the this reference, accessors, mutators, driver class, constructors, overloading, and method call chaining. The chapter ended with a look at key OOP principles—create concise objects, encapsulate to protect, and purposeful inheritance.
In the next chapter, Behavioral Design Patterns, we will explore the behavioral design pattern category and its individual design patterns of chain of responsibility, mediator, memento, null object, observer, state, strategy, template method, and visitor. We will examine the programming challenges and design patterns that resolve them.
- MySQL高可用解決方案:從主從復制到InnoDB Cluster架構
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- 有趣的二進制:軟件安全與逆向分析
- Python數據分析入門:從數據獲取到可視化
- Voice Application Development for Android
- Architects of Intelligence
- 虛擬化與云計算
- 大數據可視化
- 大數據Hadoop 3.X分布式處理實戰
- 數據挖掘原理與SPSS Clementine應用寶典
- Power BI智能數據分析與可視化從入門到精通
- Augmented Reality using Appcelerator Titanium Starter
- 數據分析師養成寶典
- 數據修復技術與典型實例實戰詳解(第2版)
- Deep Learning with R for Beginners