notes
master
HTML,CSS,JavaScript
book
ci
db
docker
go
java
Java基础
面向对象
继承
重写与重载
多态
抽象类
封装
接口
包(package)
tmp
向上造型
高级教程
Spring
lib
tmp
测试题
network
os
python
service
shell
tips
tmp
tools
notes
Docs
»
java
»
面向对象
»
tmp
Edit on GitHub
tmp
¶
向上造型
¶
子类的对象可以向上造型为父类的类型。即父类引用子类对象,这种方式被称为向上造型。
Read the Docs
v: master
Versions
latest
rst
master
Downloads
htmlzip
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.