Why are Super-class and Sub-class reversed?

后端 未结 7 2307
滥情空心
滥情空心 2021-02-12 12:29

In set theory, a set is a superset if it contains everything in the original set and possibly more. A subset however is does not contain everything of the initial set.

W

7条回答
  •  滥情空心
    2021-02-12 13:09

    I sidestep the whole super/sub class issue and refer to them as "derived" and "parent" class.

提交回复
热议问题