- Hands-On Design Patterns with Kotlin
- Alexey Soshin
- 47字
- 2021-06-25 20:49:28
Subclassing
When calling the constructor, we always instantiate the class we specify. On the other hand, calling a Static Factory Method may produce either instance of the class, or one of its subclasses. We'll come to this after discussing the implementation of this design pattern in Kotlin.
推薦閱讀
- LabVIEW 2018 虛擬儀器程序設計
- Kali Linux Web Penetration Testing Cookbook
- Python量化投資指南:基礎、數據與實戰
- 數據結構(Python語言描述)(第2版)
- The Data Visualization Workshop
- MySQL數據庫管理與開發實踐教程 (清華電腦學堂)
- 微信小程序開發解析
- OpenShift在企業中的實踐:PaaS DevOps微服務(第2版)
- UML 基礎與 Rose 建模案例(第3版)
- 零基礎學Kotlin之Android項目開發實戰
- GameMaker Essentials
- Modern C++ Programming Cookbook
- 代替VBA!用Python輕松實現Excel編程
- Serverless Web Applications with React and Firebase
- jQuery for Designers Beginner's Guide Second Edition