官术网_书友最值得收藏!

Realization

If generalization is the corresponding term in UML for object-oriented inheritance, realization, in UML, represents the implementation of an interface by a class in object-oriented programming.

Let's assume we create an interface called Lockable, which is implemented only by Vehicles that can be locked. In this case, a version of the previous diagram implementing Lockable for the Car class will look like this:

主站蜘蛛池模板: 东源县| 平泉县| 谷城县| 青阳县| 临夏县| 石景山区| 南通市| 香格里拉县| 工布江达县| 句容市| 永州市| 萨嘎县| 奇台县| 长子县| 池州市| 江阴市| 利川市| 嘉禾县| 格尔木市| 藁城市| 江口县| 峨眉山市| 雅安市| 上犹县| 沁水县| 清涧县| 贡觉县| 皮山县| 青冈县| 永清县| 甘肃省| 大田县| 镇沅| 安仁县| 青龙| 闸北区| 石阡县| 山西省| 雅安市| 灵寿县| 榆树市|