Reference no: EM13940180
Develop a set of classes for a college to use in various student service and personnel applications. Classes you need to design include following:
- Person: A Person contains a first name, last name, street address, zip code, and phone number. The class also includes a method that sets each data field and display method that displays all of a Person's information.
- CollegeEmployee: CollegeEmployee descends from Person. A CollegeEmployee also includes a Social Security number, an annual salary, and a department name, as well as methods that override the Person methods to accept and display all collegeEmployee data.
- Faculty: Faculty descends from ColegeEmployee. This class also includes a Boolean field that indicates whether the Faculty member is permanent, as well as methods that override the CollegeEmployee methods to accept and display this additional piece of information.
- Student: Student descends from Person. In addition to the fields available in Person, a Student contains a major field of study and a grade point average as well as methods that override the Person methods to accept and display these additional facts.
Write a test Java program named CollegeList that declares an array of four "regular" CollegeEmployees, three Faculty, and seven Students. Prompt the user to specify which type of person's data will be entered ('C', 'F', or 'S' indicates CollegeEmployee, Faculty, and Student respectively) or allow the user to quit ('Q'). While the user choose to continue (that is, does not quit), accept data entry for the appropriate type of Person. If the user attempts to enter data for more than four CollegeEmployees, three Faculty, or seven Students, display an error message. When the user quits, display a report on the screen listing each group of Persons under the appropriate heading "College Employees," "Faculty," or "Students." If the user has not entered data for one or more types of Persons during a session, display an appropriate message under the appropriate heading.
Save the files as Person.java, CollegeEmployee.java, Faculty.java, and Student.java, and CollegeList.java.
Invested in twelve different stocks that have combined value
: Steve has invested in twelve different stocks that have a combined value today of $121,300. Fifteen percent of that total is invested in Wise Man Foods. The 15 percent is a measure of which one of the following?
|
Annualized annual payment over the term of the loan
: Due to new air pollution standards, a company needs to invest in a new $150,000 environmental control technology. They have two options: either take out a loan or to purchase it themselves. a) If the company chooses to borrow the $150,000 from a bank..
|
Estimate the probability that the exchange rate
: An exchange rate is currently $1.20. The volatility of the exchange rate is quoted as 15% and interest rates in the two countries are the same. Using the lognormal assumption, estimate the probability that the exchange rate in six months will be (a) ..
|
Counterfeit goods with counterfeiters
: Introduction "Counterfeiting is said to be the crime of the 21st century." (Cademan, A & Henriksson, R & Nyqvist, V. (2012). The luxury brand market is highly associated with counterfeit goods with counterfeiters attempting to replicate many big n..
|
Develop a set of classes for a college
: Person: A Person contains a first name, last name, street address, zip code, and phone number. The class also includes a method that sets each data field and display method that displays all of a Person's information.
|
Put–call parity formula for an option on a currency
: How does the put–call parity formula for a currency futures option differ from the put–call parity formula for an option on a currency?
|
Variable cells and model variable
: How much would the return for US oil have to increase before it would be beneficial to increase the investment in this stock? How much would the return for Huber Steel have to decrease before it would be beneficial to reduce the investment in this st..
|
Solve the below given equation
: Solve the below given equation If 3 = log10 27 + 3 log10 x, solve for x Show complete steps, how did you reach the answer.
|
Suppose bursa had used the cost relationships determined
: Suppose Bursa had used the cost relationships determined in part a to estimate the total manufacturing overhead expected for the months of February and March.
|