- 9
- 0
- 约5.52千字
- 约 2页
- 2017-06-05 发布于天津
- 举报
oojava-employee
This exercise implements the two classes shown in the UML class diagram below.
The two associations between the classes dept and manager are such that an employee can only be in one department, and that each department has only one manager. These associations are implemented by giving Employee an attribute of class Department called dept. In a similar way the class Department has an attribute called manager, which of class Employee.
Here is the code to implement the Department and Employee classes:-
public class Department String deptName;
Employee manager;
public Department String in_dept
您可能关注的文档
- metsatucb-libraryofcongress.ppt
- miami-dade-floridadepartmentofmanagementservices.doc
- microprocessor-systembus.ppt
- mihaylov__novie_vozmoznosty_scad.ppt.ppt
- millieitimmüdürlüühizmetstandartlar-türkiyetakmürükurumu.doc
- minutgrnd19,17763jrflla.doc
- modelingproductassystem.ppt
- modelo-de-reclamacion-a-endesa-plural21.doc
- moduleii-bitmesra.doc
- multimedia.ppt.ppt
- 【人民日报】十五五规划必刷100题及答案.docx
- 国家电网有限公司高校毕业生招聘考试公共与行业知识题库及答案(2026版).docx
- 高中入团积极分子考试题库及答案.docx
- 北京工业大学耿丹学院《社会福利思想》2025-2026学年期末试卷.doc
- 北京工业大学耿丹学院《新中国史》2025-2026学年期末试卷.doc
- 北京工业大学耿丹学院《文献信息检索与利用》2025-2026学年期末试卷.doc
- 活动策划丨长城炮越野皮卡上市发布方案 .pdf
- 【中考动员】主题班会《100天做自己的六边形战士+》.pptx
- 中考英语高频词汇第二部分 阅读技能·提升练(学用).pdf
- 商业综合体安全生产管理制度.docx
最近下载
- 四川省内江市2025届高三第三次模拟考试英语试题(含答案无听力原文及音频).pdf VIP
- 2025年兰州城市学院辅导员考试笔试题库附答案.docx VIP
- 职业病危害案例课件.pptx VIP
- 新高考背景下2026年高考地理二轮复习策略讲座.pptx VIP
- (完整版)05S502阀门井图集(2).pdf VIP
- 2026浙江大学医学院附属妇产科医院招聘人员118人备考题库及答案解析(精选题).docx VIP
- 护理查房甲状腺疾病护理讲解.ppt VIP
- 2025年南沙区南外小升初考试试题及答案.doc VIP
- 毕业设计(论文)-火电厂烟气脱硫装置自动控制系统分析.doc VIP
- 2025高考英语新高考1卷阅读理解A篇全考点解析附译文 .pdf VIP
原创力文档

文档评论(0)