文件名称:inherit
-
所属分类:
- 标签属性:
- 上传时间:2016-06-15
-
文件大小:612byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现一个名为Person的类和它的子类Employee,Employee有两个子类Faculty和Staff。
具体要求如下:
(1)Person类中的属性有:姓名name(String类型),地址address(String类型),电话号码telphone(String类型)和电子邮件地址email(String类型);
(2)Employee类中的属性有:办公室office(String类型),工资wage(double类型),受雇日期hiredate(String类型);
(3)Faculty类中的属性有:学位degree(String类型),级别level(String类型);
(4)Staff类中的属性有:职务称号duty(String类型);
-Implement a class called Person and its subclasses Employee, Employee has two subclasses Faculty and Staff. Specific requirements are as follows: (1) Person class attributes are: name name (String type), address address (String type), phone number telphone (String type) and e-mail address email (String type) (2) Employee Class the properties are: Office of the office (String type), wages wage (double type), date of employment hiredate (String type) (3) Faculty class attributes are: degree degree (String type), grade level (String type ) (4) Staff class attributes: job title duty (String type)
具体要求如下:
(1)Person类中的属性有:姓名name(String类型),地址address(String类型),电话号码telphone(String类型)和电子邮件地址email(String类型);
(2)Employee类中的属性有:办公室office(String类型),工资wage(double类型),受雇日期hiredate(String类型);
(3)Faculty类中的属性有:学位degree(String类型),级别level(String类型);
(4)Staff类中的属性有:职务称号duty(String类型);
-Implement a class called Person and its subclasses Employee, Employee has two subclasses Faculty and Staff. Specific requirements are as follows: (1) Person class attributes are: name name (String type), address address (String type), phone number telphone (String type) and e-mail address email (String type) (2) Employee Class the properties are: Office of the office (String type), wages wage (double type), date of employment hiredate (String type) (3) Faculty class attributes are: degree degree (String type), grade level (String type ) (4) Staff class attributes: job title duty (String type)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
inherit.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.