Home / Expert Answers / Computer Science / examine-the-following-uml-class-diagram-please-notice-that-bold-italic-stands-for-abstract-in-uml-pa735

(Solved): Examine the following UML Class Diagram. Please notice that bold italic stands for abstract in UML ...



Examine the following UML Class Diagram. Please notice that bold italic stands for abstract in UML Class diagrams.
For consis

Examine the following UML Class Diagram. Please notice that bold italic stands for abstract in UML Class diagrams. For consistency purposes, please accept the followings in this question. 1 week \( =7 \) days 1 month \( =30 \) days 1 year is 365 days Additionally, remember that the income of an Employee is the salary, and the income of a student is the allowance. a-) Create the class hierarchy using Java programming languages. Notice that the content of the methods must also be completed at this stage. As an example, calculateBirthYear() should have a body that calculates the birthYear of student. Please use super() in the constructors when creating new Student and new Employee. b-) Create a test harness/run class named Test.java. c-) Within Test.java, create an Employee named Jack who is 30 years old. Jack works as a Computer Engineer and gets \( £ 70 \) (pounds) per day. d-) Within Test.java, create a Student named Suzan who is 19 years old. Suzan goes to Cyprus International University (CIU). She gets a daily allowance of \( £ 20 \) (pounds). e-) Calculate and display the weekly and monthly income of Jack and Suzan in a JOptionPane window. f-) Calculate and display the yearly income of Jack, and the BirthYear of Suzan in a JOptionPane window.


We have an Answer from Expert

View Expert Answer

Expert Answer


SOLUTION- I have solved this problem in JavaFx code with comments and screenshot for easy understanding :) In this code, we have 4 files - (i) Person.
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe