解决这个问题 英文题咋做

请问一下这个题怎么做,一会就要交了,求助_java吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:304,126贴子:
请问一下这个题怎么做,一会就要交了,求助收藏
(The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses ofEmployee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, and date hired. Define a class named MyDate that contains the fields year, month, and day. A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person’s name.lWrite a test program that creates a Person, Student, Employee, Faculty, and Staff, and invokes their toString() methods.l(Optional) Draw the UML diagram for the classes. Implement the classes.有哪位大神请写一下
我写了这么多 下面实在不知道怎么写了public class person {private Sprivate Sprivate int phone_private String email_public String getName(){}public void setName(String name)
{this.name=}public String getAddress()
{}public void setAddress(String address)
{ this.address =}public int getPhone_number()
{ return phone_}public void setPhone_number(int phone_number)
{ this.phone_number = phone_}public String getEmail_address()
{ return email_}public void setEmail_address(String email_address)
{ this.email_address = email_
10块钱帮你搞定。。。。。。。。。。。。。
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */package com.test2;/** * test classes *
Administrator */public class TestTest {
public static void main(String[] args){
Person p = new Person(&person&);
Student s = new Student(&student&);
Employee e = new Employee(&employee&);
Faculty f = new Faculty(&faculty&);
Stuff st = new Stuff(&stuff&);
System.out.println(p);
System.out.println(s);
System.out.println(e);
System.out.println(f);
System.out.println(st);
}}class Person {
String phoneN
String emailA
public Person(String n) {
this.name =
public String toString() {
return &Person& + this.
}}class Student extends Person {
enum classStatus {
freshman, sophomore, junior, senior
public Student(String n) {
public String toString() {
return &Student& + this.
}}class Employee extends Person {
MyDate hiredD
public Employee(String n) {
public String toString() {
return &Employee& + this.
}}class MyDate {
public MyDate(String y, String m, String d) {
this.year =
this.month =
this.day =
}}class Faculty extends Student {
String officeH
public Faculty(String n) {
public String toString() {
return &Faculty& + this.
}}class Stuff extends Student {
public Stuff(String n) {
public String toString() {
return &Stuff& + this.
mark今天任务就是你了 啊哈哈哈
呵呵,代码不难,看题太难
PersonpersonStudentstudentEmployeeemployeeFacultyfacultyStuffstuff上面大触的程序运行出来是这个?
大致懂了,但是现在很困 无法思考,明天再看一下程序找出不懂的地方
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或8.4+2/3÷0.75-9/8= 这题怎么做啊?十万火急啊!_百度知道
8.4+2/3÷0.75-9/8= 这题怎么做啊?十万火急啊!
提问者采纳
提问者评价
太给力了,你的回答完美地解决了我的问题,非常感谢!
其他类似问题
为您推荐:
十万火急的相关知识
其他3条回答
如果一般计算题,是不是题目抄错了
结果太复杂
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁这个题怎么做的啊?_百度知道
这个题怎么做的啊?
股票x期望收益率为0.12,贝塔值为1.2,股票y的期望收益率为0.14,贝塔值为1.8,无风险收益率为0.05,市场期望收益率为0.09,则买入股
提问者采纳
按照市场期望收益率为9%来匡算,股票x的收益率应达到5%+1.2*(9%-5%)=9.8%股票y的收益率应达到5%+1.8*(9%-5%)=12.2%股票x的α=12%-9.8%=2.2%,股票y的α=14%-12.2%=1.8%总之,两支股票都有升值的潜力,但是股票x的升值潜力更大一些,更吸引投资者。
提问者评价
用资本资产定价模型求得预期收益率,跟题中的预期收益率是什么关系?
来自:求助得到的回答
其他类似问题
为您推荐:
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁这道题怎么做:阅读理解.
Nora is an American girl. She studies in a middle school. She has a little sister. Her name is Kate. Kate is
only four. Nora likes Kate very much.
Today is Sunday. Nora wants her pen. S_百度作业帮
这道题怎么做:阅读理解.
Nora is an American girl. She studies in a middle school. She has a little sister. Her name is Kate. Kate is
only four. Nora likes Kate very much.
Today is Sunday. Nora wants her pen. S
这道题怎么做:阅读理解.
&&&& Nora is an American girl. She studies in a middle school. She has a little sister. Her name is Kate. Kate is
only four. Nora likes Kate very much. &&& &Today is Sunday. Nora wants her pen. She takes out her pencil case. "Oh, dear! Where's my pen?" She
can't find her pen. She goes to ask her sister in her bedroom.
&&&& "Kate! I can't find my pen. Can you see……Oh, what are you doing with (用) my pen?" &&& &"I'm writing to my friend, Betty." Kate answers. "But how can you? You don't know what to write."
&&&& "It doesn't matter (没关系). Betty can't read." Kate says.
1. Who are sisters?
A. Nora and Kate.
B. Nora and Betty.
C. Betty and Kate.
D. Nora, Betty and Kate.
2. _____ can't find her pen.
D. Nora's friend
3. Where is Kate?
A. In the school.
B. In a shop.
C. In her bedroom.
D. In her father's car.
4. Which is not right?
A. Nora finds her pen in Kate's room.
B. Kate can't write.
C. Kate is writing with her sister's pen.
D. Betty is older than Kate.
5. Betty and Kate are not _____.
A. sisters
B. Americans
C. at home
D. schoolgirls您还未登陆,请登录后操作!
这道题怎么做?
和分母都加上1,所得的分数与原分数相比是:
A.原分数大
B。原分数小
D.以上三种情况都可能
一个分数的分子和分母都加上1,所得的分数与原分数相比是:
A.原分数大 B。原分数小 C.同样大 D.以上三种情况都可能
选D.以上三种情况都可能
比如1/2,变成2/3,是变大了
1,变成2/2=1,不变
3/2,变成4/3,变小了.
原来分数分子&分母的话,变小
原来分数分子&分母的话,变大
原来分数分子=分母的话,不变
您的举报已经提交成功,我们将尽快处理,谢谢!
大家还关注}

我要回帖

更多关于 用语言叙述这个命题 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信