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

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:

主站蜘蛛池模板: 兴隆县| 文化| 调兵山市| 牟定县| 剑河县| 随州市| 屏山县| 东方市| 西平县| 鄂伦春自治旗| 泉州市| 靖宇县| 哈巴河县| 横峰县| 新绛县| 香格里拉县| 内丘县| 永登县| 抚顺市| 莱州市| 昌都县| 古蔺县| 准格尔旗| 来凤县| 陕西省| 柞水县| 文山县| 理塘县| 前郭尔| 昔阳县| 昌吉市| 桃园市| 汾西县| 黔东| 雅江县| 黑河市| 元阳县| 仙桃市| 都安| 新田县| 阜阳市|