其他分享
首页 > 其他分享> > 开始说起:向上转型(upcasting) 、向下转型(downcasting)。这就叫 upcasting

开始说起:向上转型(upcasting) 、向下转型(downcasting)。这就叫 upcasting

作者:互联网

Java 转型问题其实并不复杂,只要记住一句话:父类引用指向子类对象。

什么叫父类引用指向子类对象,且听我慢慢道来。

从 2 个名词开始说起:向上转型(upcasting) 、向下转型(downcasting)。

举个例子:有2个类,Father 是父类,Son 类继承自 Father。

第 1 个例子:

Father f1 = new Son(); // 这就叫 upcasting (向上转型)
// 现在 f1 引用指向一个Son对象

Son s1 = (Son)f1; // 这就叫 downcasting (向下转型)
// 现在f1 还是指向 Son对象
第 2 个例子:

Father f2 = new Father();
Son s2 = (Son)f2; // 出错,子类引用不能指向父类对象
你或许会问,第1个例子中:Son s1 = (Son)f1; 问为什么是正确的呢。

很简单因为 f1 指向一个子类对象,Father f1 = new Son(); 子类 s1 引用当然可以指向子类对象了。

而 f2 被传给了一个 Father 对象,Father f2 = new Father(); 子类 s2 引用不能指向父类对象。
https://m.newsmth.net/article/Reader/700728
https://exp.newsmth.net/topic/b27d5c13846786de0096b784d8846566
https://m.newsmth.net/article/Reader/700731
https://exp.newsmth.net/topic/340c29c758cf33ac8a9dcdb50910ffea
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/700733
https://exp.newsmth.net/topic/3b7adf0e0a090263b9a5cacd27f0e13c
https://m.newsmth.net/article/Reader/700740
https://exp.newsmth.net/topic/47654a3476d01787f341fc19840872e1
https://m.newsmth.net/article/Reader/700741
https://exp.newsmth.net/topic/71332f814ac10a5b18bd5aa64bf0f591
https://m.newsmth.net/article/Reader/700748
https://exp.newsmth.net/topic/57f5b2391ec1122ce7bc2015f17ecf72
https://m.newsmth.net/article/Reader/700763
https://exp.newsmth.net/topic/18ddfce22f6f1c1ce3e34074db931f62
https://m.newsmth.net/article/Reader/700780
https://exp.newsmth.net/topic/7863c9b9c6aca2e5e8a0157b507456ec
https://m.newsmth.net/article/Reader/700792
https://exp.newsmth.net/topic/ee79205be635dc110a20254f4d6d4cce
https://m.newsmth.net/article/Reader/700793
https://exp.newsmth.net/topic/7f9ddb633d9ea14fe4770ad3538bcb6c
https://m.newsmth.net/article/Reader/700800
https://exp.newsmth.net/topic/2b37c68e021d82658ac03759ae966d80
https://m.newsmth.net/article/Reader/700810
https://exp.newsmth.net/topic/1959f29c6ac0eb5c7bfc83a4156874a3
https://m.newsmth.net/article/Reader/700822
https://exp.newsmth.net/topic/3ab47966bbb329cdfdb50e92374e8821
https://m.newsmth.net/article/Reader/700823
https://exp.newsmth.net/topic/6a726217e1dd39aa03199ce2f8dbb89c
https://m.newsmth.net/article/Reader/700832
https://exp.newsmth.net/topic/740b44c1cf808866f1353ef05c4b85a2
https://m.newsmth.net/article/Reader/700837
https://exp.newsmth.net/topic/51a7516814b73d263100488a3e98a07a
https://m.newsmth.net/article/Reader/700839
https://exp.newsmth.net/topic/8646d26cec67bf27b28793e0a7059ffa
https://m.newsmth.net/article/Reader/700846
https://exp.newsmth.net/topic/73fa3addd699ab43d3cc28a4c7e845b4
https://m.newsmth.net/article/Reader/700854
https://exp.newsmth.net/topic/488b37c3d3bc2669a508b1ea0aa3bec9
https://m.newsmth.net/article/Reader/700855
https://exp.newsmth.net/topic/12ad6304cd91b3801cfeade3cbbee684
https://m.newsmth.net/article/Reader/700856
https://exp.newsmth.net/topic/bc3a2410c1ab2c809191d62c62fd0c28
https://m.newsmth.net/article/Reader/700864
https://exp.newsmth.net/topic/3eb0c9e3921140a2893e4072b342ed9a
https://m.newsmth.net/article/Reader/700866
https://exp.newsmth.net/topic/6aeac62516f2cd10b594bcb47b26056a
https://m.newsmth.net/article/Reader/700867
https://exp.newsmth.net/topic/02c7262dba31a6b39376795182c1d7e2
https://m.newsmth.net/article/Reader/700868
https://exp.newsmth.net/topic/19299813707965bfccf91e9028242a89
https://m.newsmth.net/article/Reader/700870
https://exp.newsmth.net/topic/51cee88eed21df8dca061c07785266eb
https://m.newsmth.net/article/Reader/700871
https://exp.newsmth.net/topic/4c7cbf96ddcd7ccf416245b888217056
https://m.newsmth.net/article/Reader/700873
https://exp.newsmth.net/topic/4c716849c85ca82e1ee69223a323eb6c
https://m.newsmth.net/article/Reader/700874
https://exp.newsmth.net/topic/5626dc25f4e3c7ccb6419157426f962c
https://m.newsmth.net/article/Reader/700879
https://exp.newsmth.net/topic/fa45055325d4fc937d3e0bd088e84a86
https://m.newsmth.net/article/Reader/700881
https://exp.newsmth.net/topic/bca0f42b41a02203832716e9de34f918
https://m.newsmth.net/article/Reader/700884
https://exp.newsmth.net/topic/286479d03cac42c5bd68c3b044c78f52
https://m.newsmth.net/article/Reader/700886
https://exp.newsmth.net/topic/51e8222f80065b537d457a8f457045d2
https://m.newsmth.net/article/Reader/700891
https://exp.newsmth.net/topic/1ef5121ab8928011cf89ec4d9458d570
https://m.newsmth.net/article/Reader/700892
https://exp.newsmth.net/topic/b0b59f727941ac7d86ed7cded11e2c82
https://m.newsmth.net/article/Reader/700896
https://exp.newsmth.net/topic/3431249c7e29cae4a51106f1167f960e
https://m.newsmth.net/article/Reader/700899
https://exp.newsmth.net/topic/5cc954386aed20f804443213e222f665
https://m.newsmth.net/article/Reader/700902
https://exp.newsmth.net/topic/70052ca8db186bf9f84b2c9d8dc96dad
https://m.newsmth.net/article/Reader/700907
https://exp.newsmth.net/topic/8db9971bfd158178983e87c14c46bd0a
https://m.newsmth.net/article/Reader/700908
https://exp.newsmth.net/topic/d321946af4d3a4cc23ba47e0a79d4d0d
https://m.newsmth.net/article/Reader/700953
https://exp.newsmth.net/topic/a7331b0857713daafbd38bff30077eaf
https://m.newsmth.net/article/Reader/700959
https://exp.newsmth.net/topic/7d4867e2144b38cc133145776a149a06
https://m.newsmth.net/article/Reader/700966
https://exp.newsmth.net/topic/8adcb8756d40ccd69e6b0a0d51e3f47c
https://m.newsmth.net/article/Reader/700968
https://exp.newsmth.net/topic/9870f575613478d66b4087c12faeaa4a
https://m.newsmth.net/article/Reader/700973
https://exp.newsmth.net/topic/c0a144165ad28974e8a37ff485bf48b2
https://m.newsmth.net/article/Reader/700975
https://exp.newsmth.net/topic/5dd29f54fbd5ea19a24507b1567f5277
https://m.newsmth.net/article/Reader/700979
https://exp.newsmth.net/topic/1f5495b64719c51d91556082c62deb48
https://m.newsmth.net/article/Reader/700982
https://exp.newsmth.net/topic/e4f7173377472eaf5e9b32b22216e077
https://m.newsmth.net/article/Reader/700986
https://exp.newsmth.net/topic/f7c977a020a593cf3e75886bdfa048c9
https://m.newsmth.net/article/Reader/701040
https://exp.newsmth.net/topic/0ef2a182f3b48dc2b5574a8565daf865
https://m.newsmth.net/article/Reader/701041
https://exp.newsmth.net/topic/a18e97ab120ddf5e55d9ba8637f89366
https://m.newsmth.net/article/Reader/701046
https://exp.newsmth.net/topic/70acc79c045128c41de8b69b0288246d
https://m.newsmth.net/article/Reader/701058
https://exp.newsmth.net/topic/f799bda4ecb8d7fc0762cabc1182055a
https://m.newsmth.net/article/Reader/701065
https://exp.newsmth.net/topic/5e839fbbc7c6337c51929ee18fa5386a
https://m.newsmth.net/article/Reader/701073
https://exp.newsmth.net/topic/06590d07f26f5a1dfc802e73e3163e75
https://m.newsmth.net/article/Reader/701077
https://exp.newsmth.net/topic/bf83088414a6a6551dee1a846fdf2798
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/701085
https://exp.newsmth.net/topic/1302123a400b78ad2e59df22772683d8
https://m.newsmth.net/article/Reader/701087
https://exp.newsmth.net/topic/eb781114c9b9c5d69a977ebc45288539
https://m.newsmth.net/article/Reader/701090
https://exp.newsmth.net/topic/990dbc35d021bb3308dabbdba093ad94
https://m.newsmth.net/article/Reader/701096
https://exp.newsmth.net/topic/016ebd577f98998661688807c5fbb7af
https://m.newsmth.net/article/Reader/701098
https://exp.newsmth.net/topic/a93f858e394c86765edb18a0d78e461f
https://m.newsmth.net/article/Reader/701102
https://exp.newsmth.net/topic/158d30cef3189ac7a21cdebd2803a184
https://m.newsmth.net/article/Reader/701103
https://exp.newsmth.net/topic/1fb3bb4e5a5cf959fb7f1a340233b830
https://m.newsmth.net/article/Reader/701105
https://exp.newsmth.net/topic/d15ad644c6d364778d257eb4ee42a4f5
https://m.newsmth.net/article/Reader/701108
https://exp.newsmth.net/topic/61f1640068df5dfc8798ab10c9bf4752
https://m.newsmth.net/article/Reader/701109
https://exp.newsmth.net/topic/1b0ef21e1cf2a6a54db4a7ae9b5ddd04
https://m.newsmth.net/article/Reader/701111
https://exp.newsmth.net/topic/7518e098c24a752df528fa7f223057fc
https://m.newsmth.net/article/Reader/701113
https://exp.newsmth.net/topic/e2e86fd103f2759ff57558674667e8c6
https://m.newsmth.net/article/Reader/701115
https://exp.newsmth.net/topic/14ed2c215e891e842c4d00661012c29f
https://m.newsmth.net/article/Reader/701117
https://exp.newsmth.net/topic/a9079314acb0b59c806a4839ecc3197e
https://m.newsmth.net/article/Reader/701123
https://exp.newsmth.net/topic/24a8502a7164a7111bf71b6411bc1486
https://m.newsmth.net/article/Reader/701125
https://exp.newsmth.net/topic/3eeed0623803f4042db807fbd2687757
https://m.newsmth.net/article/Reader/701128
https://exp.newsmth.net/topic/441a4d91164df5317e8f504bed0aa9cb
https://m.newsmth.net/article/Reader/701133
https://exp.newsmth.net/topic/d2188bf459915e07592ec4f7f720d4f5
https://m.newsmth.net/article/Reader/701137
https://exp.newsmth.net/topic/b15550736b2a8848907ec800d985f8c1
https://m.newsmth.net/article/Reader/701138
https://exp.newsmth.net/topic/4b486da9cc2e34b65ffe01408f8fb806
https://m.newsmth.net/article/Reader/701139
https://exp.newsmth.net/topic/0ad253c0b228fc259b06d0280890c728
https://m.newsmth.net/article/Reader/701143
https://exp.newsmth.net/topic/9f8710231b6a92cc9f6cc2545aea1bf5
https://m.newsmth.net/article/Reader/701144
https://exp.newsmth.net/topic/0fac47ff6a52c6563e18b132f8c70509
https://m.newsmth.net/article/Reader/701145
https://exp.newsmth.net/topic/9bc9e2334c91341df6c7956f5ce00611
https://m.newsmth.net/article/Reader/701148
https://exp.newsmth.net/topic/a3ff979dff585e6b35fbddecb81bb0c2
https://m.newsmth.net/article/Reader/701149
https://exp.newsmth.net/topic/4f116a3323dec374615eb85bacc91f70
https://m.newsmth.net/article/Reader/701150
https://exp.newsmth.net/topic/07a3f7d3f946ceef55cc2c393fbbeb0f
https://m.newsmth.net/article/Reader/701152
https://exp.newsmth.net/topic/c098336995f80c0f26455b7aa9069634
https://m.newsmth.net/article/Reader/701155
https://exp.newsmth.net/topic/47fe2897882bb466a2be1607ac23a5a6
https://m.newsmth.net/article/Reader/701157
https://exp.newsmth.net/topic/5c21c7b24e2c72978e81b2e6d9c92386
https://m.newsmth.net/article/Reader/701158
https://exp.newsmth.net/topic/0f10e57ed21731bd210a55a9fe2e137f
https://m.newsmth.net/article/Reader/701161
https://exp.newsmth.net/topic/7086375a02f7808a7a187ccf9828030d
https://m.newsmth.net/article/Reader/701163
https://exp.newsmth.net/topic/5a3b3c77027cdce2dbe49c928b86c600
https://m.newsmth.net/article/Reader/701164
https://exp.newsmth.net/topic/74443fc2f1f1ebd936517517e25127ba
https://m.newsmth.net/article/Reader/701167
https://exp.newsmth.net/topic/d474794d6fa3b1c08e73e8771ee9abf9
https://m.newsmth.net/article/Reader/701168
https://exp.newsmth.net/topic/931b7b518195d688c01470d3d2cbb063
https://m.newsmth.net/article/Reader/701171
https://exp.newsmth.net/topic/a0725f7f1e44a04485d3dc2a68ff37db
https://m.newsmth.net/article/Reader/701173
https://exp.newsmth.net/topic/abc17c9d6450670caf23b3f9366ca48e
https://m.newsmth.net/article/Reader/701174
https://exp.newsmth.net/topic/5923e18075816ab7d847ab38d9a3be33
https://m.newsmth.net/article/Reader/701176
https://exp.newsmth.net/topic/e43e1771606ce87a1b2cad10de2e39c2
https://m.newsmth.net/article/Reader/701177
https://exp.newsmth.net/topic/c7a7ed897927e6b9cee624dfdd27c0cf
https://m.newsmth.net/article/Reader/701180
https://exp.newsmth.net/topic/cf0130e7debb748a051d91ecfa1e5275
https://m.newsmth.net/article/Reader/701182
https://exp.newsmth.net/topic/4fc8ee5518f23180e56d925c96fb28fb
https://m.newsmth.net/article/Reader/701183
https://exp.newsmth.net/topic/63ea7028ee301bb054578be4e02313ce
https://m.newsmth.net/article/Reader/701184
https://exp.newsmth.net/topic/14dc4f7c7fd36b23edd0febdb01febd6
https://m.newsmth.net/article/Reader/701186
https://exp.newsmth.net/topic/3bd6f2fc4dddf74dfd19c49e6de2872d
https://m.newsmth.net/article/Reader/701187
https://exp.newsmth.net/topic/bac9369a6564437daed38a2cc63d9613
https://m.newsmth.net/article/Reader/701188
https://exp.newsmth.net/topic/f07c03be1e7b90df9c3363b2470b78dd
https://m.newsmth.net/article/Reader/701189
https://exp.newsmth.net/topic/39cb5d207fe095388e233c8325280fff
https://m.newsmth.net/article/Reader/701190
https://exp.newsmth.net/topic/9b0e156c8b349f7f518d7d590f4f800c
https://m.newsmth.net/article/Reader/701191
https://exp.newsmth.net/topic/364c58db5afb9b23e837f798ab8cb42d
https://m.newsmth.net/article/Reader/701192
https://exp.newsmth.net/topic/fdbc9453a7f51f3a8d4e833deabc0a66
https://m.newsmth.net/article/Reader/701193
https://exp.newsmth.net/topic/5cbd6d8139f0cf281b8eeb1e000bc8d1
https://m.newsmth.net/article/Reader/701194
https://exp.newsmth.net/topic/51787d6eb851bcf3f265812a8fd1e7b9
https://m.newsmth.net/article/Reader/701195
https://exp.newsmth.net/topic/4745bb218d45a6c944d265f2e824fff1
https://m.newsmth.net/article/Reader/701196
https://exp.newsmth.net/topic/59bfbf359484cf50664910ae43475ebc
https://m.newsmth.net/article/Reader/701197
https://exp.newsmth.net/topic/e50655a326a8d7eb9d4c00b47f7def87
https://m.newsmth.net/article/Reader/701200
https://exp.newsmth.net/topic/b5bbb472ec07514276ec00f7552a28fc
https://m.newsmth.net/article/Reader/701202
https://exp.newsmth.net/topic/6b534972d370b07cc461b9d80357c220
https://m.newsmth.net/article/Reader/701206
https://exp.newsmth.net/topic/d8cd26989e283969b26f3148383ca30a
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/701209
https://exp.newsmth.net/topic/829ff33dd6ecb354637cda76f15270df
https://m.newsmth.net/article/Reader/701211
https://exp.newsmth.net/topic/cfa1aefe60350c1bd77625ee1d85a6ab
https://m.newsmth.net/article/Reader/701215
https://exp.newsmth.net/topic/800caf562343f9877cfb51b73485eb7a
https://m.newsmth.net/article/Reader/701216
https://exp.newsmth.net/topic/d2867f94380f930edd8c9e51763a5d7d
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/701218
https://exp.newsmth.net/topic/7241f428f564b988a5d071c19bfca0f8
https://m.newsmth.net/article/Reader/701219
https://exp.newsmth.net/topic/f82fc66602df4cd8111d0469d2bbeb90
https://m.newsmth.net/article/Reader/701220
https://exp.newsmth.net/topic/95580b5994d46ca137c9bc62450bb6d6
https://m.newsmth.net/article/Reader/701222
https://exp.newsmth.net/topic/67517e095ed1daebba518faa1717f6d4
https://m.newsmth.net/article/Reader/701225
https://exp.newsmth.net/topic/64b5a6886cca56ec8a3cf8c69dd65558
https://m.newsmth.net/article/Reader/701227
https://exp.newsmth.net/topic/644c3f50b90f28b9afd5ec016f7ae75e
https://m.newsmth.net/article/Reader/701242
https://exp.newsmth.net/topic/9b84bff8d975e6b9ae7509b1606f17df
https://m.newsmth.net/article/Reader/701245
https://exp.newsmth.net/topic/d114c878d380178ae3a8cca0efd8151a
https://m.newsmth.net/article/Reader/701247
https://exp.newsmth.net/topic/a45edc282fde09e909e030f369998704
https://m.newsmth.net/article/Reader/701248
https://exp.newsmth.net/topic/16bb374c90ed936b531469cdc6244b05
https://m.newsmth.net/article/Reader/701250
https://exp.newsmth.net/topic/2fee4388692df1b7ea35aedd65c1c85b
https://m.newsmth.net/article/Reader/701251
https://exp.newsmth.net/topic/826e470313d6276719d393e0d41635ff
https://m.newsmth.net/article/Reader/701252
https://exp.newsmth.net/topic/28730a25cd65f08e92a7ff085baab14d
https://m.newsmth.net/article/Reader/701253
https://exp.newsmth.net/topic/3f0caa2037d54223593fcc7bea309285
https://m.newsmth.net/article/Reader/701256
https://exp.newsmth.net/topic/677111221ae82a0c3fbc34f142d72d63
https://m.newsmth.net/article/Reader/701259
https://exp.newsmth.net/topic/337be379baf5fb252b27c495e93a369a
https://m.newsmth.net/article/Reader/701260
https://exp.newsmth.net/topic/8e06580273053ecad52fe6dee4531499
https://m.newsmth.net/article/Reader/701261
https://exp.newsmth.net/topic/8afcfaf7229a8ab806581d587686f717
https://m.newsmth.net/article/Reader/701262
https://exp.newsmth.net/topic/d81ee4b2bcb633f2c14303a3eebe539c
https://m.newsmth.net/article/Reader/701263
https://exp.newsmth.net/topic/ac5645e6b2b0fbca72622f6679333049
https://m.newsmth.net/article/Reader/701264
https://exp.newsmth.net/topic/9f6d6e3047cf04489c2c0de3e27d6efd
https://m.newsmth.net/article/Reader/701265
https://exp.newsmth.net/topic/5482ece0e41b90f7a3cad04688662fbb
https://m.newsmth.net/article/Reader/701266
https://exp.newsmth.net/topic/12516d4be91bd5fdb8d34178b84cc617
https://m.newsmth.net/article/Reader/701268
https://exp.newsmth.net/topic/8345c21b9c545ce74fcd54feae0fd38e
https://m.newsmth.net/article/Reader/701270
https://exp.newsmth.net/topic/80929ef7a5dff89cb1f7409f4e0f2b49
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/701273
https://exp.newsmth.net/topic/0d805ed27a0df2b5c80df436e1da174a
https://m.newsmth.net/article/Reader/701274
https://exp.newsmth.net/topic/2d89e180bd811a89a97fb355c644fa89
https://m.newsmth.net/article/Reader/701275
https://exp.newsmth.net/topic/c9cf0c71bf4ef99e2cc18ad259a6c834
https://m.newsmth.net/article/Reader/701276
https://exp.newsmth.net/topic/f07c6b5f5758b1d3d914e746c9f6f6a4
https://m.newsmth.net/article/Reader/701277
https://exp.newsmth.net/topic/5e6fcb5857881d242f83aeb3afc80bc8
https://m.newsmth.net/article/Reader/
https://exp.newsmth.net/topic/
https://m.newsmth.net/article/Reader/701279
https://exp.newsmth.net/topic/b1919c20131ad817b4b641db540dc06b
https://m.newsmth.net/article/Reader/701280
https://exp.newsmth.net/topic/6e87782dd37abd309bba1f33d1bec8dc
https://m.newsmth.net/article/Reader/701281
https://exp.newsmth.net/topic/149d691e49d53a46a2381ed2d543db78
https://m.newsmth.net/article/Reader/701283
https://exp.newsmth.net/topic/6f3a1be01d4c9f681493b2061c2c2b8b
https://m.newsmth.net/article/Reader/701284
https://exp.newsmth.net/topic/d83d0eec4631054bcbe3df68bbb960c0
https://m.newsmth.net/article/Reader/701285
https://exp.newsmth.net/topic/2d6518e3d00dff7e551caa721e2ce4fb
https://m.newsmth.net/article/Reader/701286
https://exp.newsmth.net/topic/38a61d627b00c4e44d2b0a56ff11b6b9
https://m.newsmth.net/article/Reader/701287
https://exp.newsmth.net/topic/91815727958936e2b758e0dac61a3245
https://m.newsmth.net/article/Reader/701288
https://exp.newsmth.net/topic/a2ce8be3359dc1b4f131f0761eb2a409
https://m.newsmth.net/article/Reader/701290
https://exp.newsmth.net/topic/63198b735516db665c45804a933c3441
https://m.newsmth.net/article/Reader/701292
https://exp.newsmth.net/topic/c0ae361e0f93c6c7cd22f9bdf771e520
https://m.newsmth.net/article/Reader/701293
https://exp.newsmth.net/topic/3bde93d2aadccb2b7369845ba4d2c37a
https://m.newsmth.net/article/Reader/701294
https://exp.newsmth.net/topic/5676eb04ae4040899f56af6be552cdce
https://m.newsmth.net/article/Reader/701296
https://exp.newsmth.net/topic/77752c3b2a8de25b096139f0b493736e
https://m.newsmth.net/article/Reader/701297
https://exp.newsmth.net/topic/10736419635a13c3738bd063148b8e75
https://m.newsmth.net/article/Reader/701299
https://exp.newsmth.net/topic/ceb51a26a12f40cb4c72f0b740ed7e79
https://m.newsmth.net/article/Reader/701300
https://exp.newsmth.net/topic/ea0676eba052784b3734319ef69a9bda

标签:newsmth,exp,upcasting,转型,topic,https,Reader,net,downcasting
来源: https://www.cnblogs.com/taboe/p/13655675.html