Task: Design an Object-Oriented Model
As discussed in the class, for this lab do the following:
1- Define an arbitrary use case (follow the format discussed in the class)
2- Find all potential entities (classes)
3- Define the properties of the classes and for each property define the type and cardinality
4- Define the behavior (public interface) of the class
5- Define a scenario to show how different objects interact with each other
6- Create the header file for the designed classes
Note: No need to implement the methods you define for the classes for this lab.
Insert the pictures of the classes in this file and submit this file to Moodle.
请问这个题目是什么意思,我没太理解
任务:设计一个面向对象的模型
正如课堂上所讨论的,对于本实验室,请执行以下操作:
1-定义任意用例(遵循课程中讨论的格式)
2-查找所有潜在实体(类)
3-定义类的属性,并为每个属性定义类型和基数
4-定义类的行为(公共接口)
5-定义一个场景,以显示不同对象如何相互交互
6-为设计的类创建头文件
注意:无需实现您为本实验室的类定义的方法。
在此文件中插入类的图片,并将此文件提交给Moodle。