2021-05-05 17:13:49 +00:00
|
|
|
---
|
|
|
|
id: 5e7b9f170b6c005b0e76f088
|
2021-07-02 13:15:29 +00:00
|
|
|
title: '對象:繼承'
|
2021-05-05 17:13:49 +00:00
|
|
|
challengeType: 11
|
|
|
|
videoId: FBL3alYrxRM
|
|
|
|
dashedName: objects-inheritance
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-07-02 13:15:29 +00:00
|
|
|
面向對象編程中的繼承是指什麼?
|
2021-05-05 17:13:49 +00:00
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
2021-07-02 13:15:29 +00:00
|
|
|
擴展父類時創建的新類。
|
2021-05-05 17:13:49 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-07-02 13:15:29 +00:00
|
|
|
類的構造實例。
|
2021-05-05 17:13:49 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-07-02 13:15:29 +00:00
|
|
|
通過擴展現有類來創建新類的能力。
|
2021-05-05 17:13:49 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-07-02 13:15:29 +00:00
|
|
|
在使用類構造對象時調用的方法。
|
2021-05-05 17:13:49 +00:00
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
3
|
|
|
|
|