By using characteristic of inheritance and encapsulation, code of programmer is more succinct, and speed of running is faster.
利用类的继承和多态特性,程序代码简洁,运行速度快。
As being one of important characteristic of object-oriented language, Inheritance is often used during system design phase, but the system flexibility will become low if it is used without control.
继承作为面向对象语言的一个重要特性,在系统设计时经常被用到。但继承的滥用会导致系统的灵活性大大下降。
The characteristic is provided with inheritance unlti_periods and difference, and its main form is interrupted sinking and a series of movement breaking tape is formed.
其特点是具有继承性、多期性和差异性,主要表现形式为间歇性下沉,并形成了一系列活动断裂带。
应用推荐