Object interaction in object-oriented programming
Автор: Zalogova L.A.
Журнал: Вестник Пермского университета. Математика. Механика. Информатика @vestnik-psu-mmi
Рубрика: Информатика. Информационные системы
Статья в выпуске: 3 (34), 2016 года.
Бесплатный доступ
An object-oriented program consists of a set of objects. The usage of isolated objects solves only a small number of tasks. Typically, they are the objects which exchange messages, i.e. interact with each other, that are of interest. The paper specifies one of the possible ways to organize object interaction and provides fragments of a programming code for a specific example. To visualize the message exchange between objects, interaction diagrams and sequence diagrams are described. The proposed methods can be used in teaching the object-oriented programming technology.
Object-oriented programming, class, object, object interaction
Короткий адрес: https://sciup.org/14730072
IDR: 14730072 | DOI: 10.17072/1993-0550-2016-3-94-102