(1) inheritance
Description:
Inheritance represents a class (called a subclass, sub-interface ) inherit another class (called parent, parent interface functions), and can increase the capacity of its own new features.
Representation:
Inherited using open triangle + solid line representation.
Example:
Birds inherited abstract animals
(2) implementation
Introduction:
implementation represents a class class implements the interface an interface function (which may be s).
display method:
1) rectangle notation using open triangles dotted line + such as: the flight geese, necessary to achieve the fly () interface
2) lollipop notation using a solid line represents
Author: Last Whisper _dd43
link: https: //www.jianshu.com/p/57620b762160
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.