Question: JAVA language> solve it in a simple way and PLEASE solve the whole question. I will be thankful! the output should be: (Discount, Project, type,


ArrayList of Classes: A construction company has setup a system of tracking its ongoing projects by the organizational chart shown below: Schedule Project Manpower House Building TwoFloor Bungalow TenFloor FourFloor Project holds the following items: . title of the project example: "Greenview Housing) schedule of the project in terms of number of days to complete Schedule holds a process to compute the adjustment of schedule whenever the projecte t gets delayed or is ahead of schedule adjustSched()- allows for addition/removal of days to/from the completion date set Sched () - allows for immediate change of the days of completion getSched) Manpower holds a process to compute the number of employees that needs to be hired for a particular project. adjustMan () - allows for addition/removal of manpower setMand) - allows for immediate change of manpower requirements getMant) The company develops two types of projects A. House projects are smaller projects which require shorter schedules and fewer manpower. It hold two information number of rooms(nunt Rooms) and size Small, Medium","Large) a. TwoFloor TwoFloor houses needs only to compute cost per floor (cost Perfl00:01) TwoFloor house provides a discount on the cost per floor of construction: 5% discount for small houses, 10% discount for medium houses and a 12% discount on large houses (discount onto . Additional 2% discount is given if the number of rooms constructed is less than 3 per floor b. Bungalow Bungalow houses needs only to compute cost per square foot cost Per SqFoto) Bungalow house do not provide any discounts B. Building projects are bigger more complex projects that require longer schedules and schedules adjustments Building projects also require more manpower. a. Four Floor FourFloor building construction requires only to compute the cost per floor (coat PerFloor Additional cost are also paid by the company to construct the project these are land tax (get LandtaxC) which is 1.5% of the total building cost and property tax (get PropTaxe)} which is 2.2% of the total building cost. b. Tenloor TenFloor building construction is the most complex project the company builds but is the most profitable project for the company . It earns a bigger profit because every floor that is built costs less than the previous . This cost per floor (cost Perfloor is computed by giving an incremental decrease in cost per floor. The 14 floor cost 100% the cost per floor amount, the 2 floor costs 6% less and the next floor costs 8% less and so on. The discounting stops when cost per floor reaches 18% less on the cost per floor. . Additional cost are also paid by the company to construct the project these are land tax (get LandTaxO) which is 15% of the total building cost and property tax (getPropTax()) which is 22% of the total building cost. one. Based on the case discussed above, simulate the classes required to complete the project. 1. Assign Schedule and Manpower as Interfaces 2. Assign Project as an abstract class 3. Create a test class that will use ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
