Construct a UML Class Diagram of Employee on the basis of the following specification: Three Classes:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Construct a UML Class Diagram of Employee on the basis of the following specification: Three Classes: Employee, Fulltime Staff, and Part-time Staff Class Employee: Attributes: Name: String Address: ID#: SSN: (public) String String String Actions: reportTax(): double Takes no parameters (public) End Class Employee Class Fulltime Staff: Attributes: Annual salary: float Health plan: string Actions: selectBenefit () End Class Fulltime Staff Takes no parameters (public) Class Part-time Staff: Attributes: Hourly Rate: Weekly hours: Actions: fill Report () float int Takes no parameters End Class Part-time Staff The relationship among these three classes is that Class Employee is the generalization of Class Fulltime Staff and Class Part-time Staff. Construct a UML Class Diagram of Employee on the basis of the following specification: Three Classes: Employee, Fulltime Staff, and Part-time Staff Class Employee: Attributes: Name: String Address: ID#: SSN: (public) String String String Actions: reportTax(): double Takes no parameters (public) End Class Employee Class Fulltime Staff: Attributes: Annual salary: float Health plan: string Actions: selectBenefit () End Class Fulltime Staff Takes no parameters (public) Class Part-time Staff: Attributes: Hourly Rate: Weekly hours: Actions: fill Report () float int Takes no parameters End Class Part-time Staff The relationship among these three classes is that Class Employee is the generalization of Class Fulltime Staff and Class Part-time Staff.
Expert Answer:
Related Book For
Accounting Information Systems
ISBN: 978-1260153156
2nd edition
Authors: Vernon Richardson, Chengyee Chang, Rod Smith
Posted Date:
Students also viewed these programming questions
-
123 Compare the purely graphical properties of these two notations, and the ways in which the graphical properties of each display correspond to the information structure being defined. Describe...
-
for the equality test for M and N. The question concerns how to represent multisets of strings within ML. For each of the given data representations (a), (b) and (c) describe how you would implement...
-
A circular transistor of 10-mm diameter is cooled by impingement of an air jet exiting a 2-mm-diameter round nozzle with a velocity of 20 m/s and a temperature of 15C. The jet exit and the exposed...
-
Medication A is given every 4 hours and medication B is given twice each day. The total intake of the two medications is restricted to 50.6 mg per day, for a certain patient. If the ratio of the...
-
Explain the difference between the voting-interest model and the risk-and-reward model used for consolidation.
-
The cumulative normal distribution can be approximated (to within about six decimal places) by the modified polynomial relation where Use this formula to find the value of a call option with...
-
Hasagama Middle School wants to raise money for a new sound system for its auditorium. The primary fund-raising event is a dance at which the famous disc jockey D.J. Rivet will play classic and...
-
Sandhill Inc.'s adjusted trial balance at May 31, 2025 is shown here. Compute the retained earnings balance as of May 31. Sandhill Inc. reported net income of $10,600 during May. Account Titles Debit...
-
Shanghai Company sells glasses, fine china, and everyday dinnerware. It uses activity-based costing to determine the cost of the shipping and handing activity. The shipping and handling activity has...
-
You record his range of motion measurement every week for two months to keep track of his progress. Flexion Extension Week 1 90 30 Week 2 95 28 Week 3 99 26 Week 4 104 20 Week 5 112 16 Week 6 120...
-
You have the following information regarding 2 stocks A and B. E(Ra) 10% E(Rb) 12% Sigma_a 5% Sigma_b 8% corr -0.5 COV -0.002 rf 10.25% The table below provides the possible portfolio that you can...
-
Harry usually spends 10 hours a week either playing Football or study economics courses. His Economics exam is coming next week and he needs more time to study for the exam. If he does not study at...
-
Consider a portfolio consisting of two stocks S1 and S2, where S, denotes the value at time t of stock 1 in EUR and S,2 denotes the value at time t of stock 2 in CHF. Let e, be the CHF-EUR exchange...
-
Post each transaction to the T-accounts below and compute the ending balances of each account. The balances at the beginning of the doy are shown in the T accounts. Recorded transactions to be...
-
Susan has worked at Suspenders Ltd for six months and has been appointed a team leader. In the time she has been there, out of the eight members of her team who were there when she joined three have...
-
During the month, services performed for customers on account amounted to $7,500 and collections from customers in payment of their accounts totaled $6,000. At the end of the month, the Accounts...
-
Business rules implement internal controls. Review Table 6.1 and describe which business rules implement segregation of duties. Classify each of those business rules as obligatory, prohibited, or...
-
Compare BPMN activity diagrams with flowcharts and DFDs. What is different? What is the same? When would one notation be better or worse than another?
-
Use the Cash table above to write a SQL query to show a list of checking accounts? Cash Account# Type Bank Balance Checking Boston5 BA-6 253 BA-7 Checking Shawmut 48,000 Shawmut 75,000 BA-8 Draft 950...
-
The circuit in Figure P32.96 represents your planned design for a wall power supply that will run a radio that usually runs on a 9-V battery. The power supply uses a transformer (not shown) to...
-
Your boss has purchased a new AC power source to run a high-voltage, low-current display, but it is not working. While he is fuming, you look at the owner's manual and discover that this power source...
-
Construct a phasor diagram representing the current and potential difference in Figure 32. 10 at \(t=T / 4, T / 2\), and \(3 T / 4\). Data from Figure 32.10 Ve maximum, current zero Ve minimum,...
Study smarter with the SolutionInn App