- 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.
推薦閱讀
- VMware View Security Essentials
- Python自動(dòng)化運(yùn)維快速入門(mén)(第2版)
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- Working with Odoo
- Babylon.js Essentials
- Spring Boot實(shí)戰(zhàn)
- OpenMP核心技術(shù)指南
- SpringBoot從零開(kāi)始學(xué)(視頻教學(xué)版)
- 多媒體技術(shù)及應(yīng)用
- Python Programming for Arduino
- Puppet:Mastering Infrastructure Automation
- Drupal Search Engine Optimization
- 例解Python:Python編程快速入門(mén)踐行指南
- 啊哈C語(yǔ)言!:邏輯的挑戰(zhàn)(修訂版)
- JSP大學(xué)實(shí)用教程