- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 98字
- 2021-07-03 00:12:03
How it works...
Polymorphism is something you will easily be using already by simply applying good object-oriented principles to the design of your classes. With the abstract Shuttle class, we saw that the class took on the shape of the NasaShuttle class and the RoscosmosShuttle class when it was used to derive those new classes from its abstraction. The constructor of the NasaShuttle class was then overridden to provide the same method name, but implemented using different signatures.
This is at the heart of polymorphism. Most likely, you have been using it without knowing about it.
推薦閱讀
- C++面向對象程序設計(第三版)
- Getting Started with Citrix XenApp? 7.6
- Learning AWS Lumberyard Game Development
- PLC編程與調試技術(松下系列)
- Learning Salesforce Einstein
- MySQL入門很輕松(微課超值版)
- Getting Started with Python and Raspberry Pi
- ABAQUS6.14中文版有限元分析與實例詳解
- C/C++代碼調試的藝術(第2版)
- Mastering XenApp?
- Splunk Essentials
- Java EE程序設計與開發實踐教程
- ASP.NET Core 2 High Performance(Second Edition)
- Java語言程序設計與實現(微課版)
- Swift語言實戰晉級(第2版)