Interface Contract, Class Object?

后端 未结 6 1710
旧巷少年郎
旧巷少年郎 2020-12-25 14:17

Is contract to interface as object is to class?

What is the need to differentiate identical things like this, from the code to the executing code? I sort of get the

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-25 14:20

    Well I guess... if an interface specifies a contract than a class specifies an (or multiple) instance(s) of a particular object.

    Terminology is less important than application though.

提交回复
热议问题