readme
来自「MICO2.3.13 corba 环境平台」· 代码 · 共 14 行
TXT
14 行
Abstract interfaces cannot exist on their own. They can be implemented eitheras a valuetype or as an interface. Methods can then operate on an abstractinterface without knowing if the parameter is actually a (local) valuetypeor a (potentially remote) object.This example shows a "Describable" abstract interface, which has the singlemethod "get_description". This method is then implemented in both theconcrete interface "Account" and the valuetype "Currency" -- both aredescribable and can produce a description of themselves as a string.The "Example" interface can therefore display both Accounts and Currencies,since they both implement the abstract base.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?