Shared characteristics can be attributes, associations, or methods. Generalization is the process of extracting shared characteristics from two or more classes, and combining them into a generalized superclass. Nevertheless, we would like to further introduce these terms at this point in Figure 4.26: Figure 4.26 Notation of generalization The reason for this is that modeling relevant objects or ideas from the real world gives little opportunity for using inheritance (compare the class diagram of our case study). For modeling classes that illustrate technical concepts they are secondary. These concepts are very important when dealing with object-oriented programming languages such as Java, Smalltalk, or C++. Terms such as superclass, subclass, or inheritance come to mind when thinking about the object-oriented approach.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |