学生选课系统课程类学生类和测试类的英文类图
时间: 2023-07-26 14:40:32 浏览: 150
以下是学生选课系统的课程类、学生类和测试类的英文类图:
Class Diagram:
```
+-----------------+ +-----------------+ +-----------------+
| Course | | Student | | Test |
+-----------------+ +-----------------+ +-----------------+
| - courseId | | - studentId | | - testId |
| - courseName | | - studentName | | - testName |
| - courseCredit | | - studentMajor | | - testScore |
| - courseTeacher | | - studentGrade | | - testDate |
+-----------------+ +-----------------+ +-----------------+
| + setCourseId() | | + setStudentId()| | + setTestId() |
| + setCourseName()| | + setStudentName()| | + setTestName() |
| + setCredit() | | + setMajor() | | + setScore() |
| + setTeacher() | | + setGrade() | | + setDate() |
| + getCourseId() | | + getStudentId()| | + getTestId() |
| + getCourseName()| | + getStudentName()| | + getTestName() |
| + getCredit() | | + getMajor() | | + getScore() |
| + getTeacher() | | + getGrade() | | + getDate() |
+-----------------+ +-----------------+ +-----------------+
```
注意:以上类图是一个简单的示例,仅供参考。实际上,学生选课系统可能需要更多的类和属性来实现其功能。
阅读全文