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

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:

主站蜘蛛池模板: 汉川市| 祁阳县| 江阴市| 名山县| 伊川县| 通河县| 高阳县| 白河县| 全椒县| 苏尼特右旗| 黄浦区| 长子县| 古浪县| 台山市| 肃宁县| 徐闻县| 大渡口区| 鄂托克前旗| 天等县| 西吉县| 公主岭市| 商丘市| 屏东市| 尚志市| 扎兰屯市| 石家庄市| 民勤县| 克拉玛依市| 和林格尔县| 滦平县| 勃利县| 淮滨县| 盐城市| 阿拉善左旗| 基隆市| 小金县| 绵阳市| 上饶县| 辽宁省| 两当县| 平和县|