Inheritance is an important feature in Object Oriented Programming, and UML provides a way to model it.
继承在面向对象编程中是一个重要的特性,UML为它的建模提供了方法。
The means of this pursuit have changed over time, from functions in Fortran through object-oriented programming (OOP) and inheritance toward interfaces.
这种追求的方法随着时间而变化,从 Fortran 中的函数到面向对象编程(OOP)和面向接口的继承。
Because inheritance is so important in object-oriented programming it is often highly emphasized, and the new programmer can get the idea that inheritance should be used everywhere.
因为继承对于面向对象编程如此重要,所以它通常被高度强调,因此每个新的程序员通常会有一种这样的概念,继承存在于每个地方。
应用推荐