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,

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, Total)
 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, Total) ArrayList of Classes: A construction company has setup a

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 to hold the following classes: Project # 1 2 3 4 5 Number Days to Required Number Title Type of Rooms Size complete Manpower of Floor per Floor Starbucks at Green St. TwoFloor 95 SO 2 Small "Andersons House Bungalow 75 30 na na Medium "Office at Meadows TwoFloor 120 70 2 Small "Smiths House Bungalow 60 45 na na Large "Office at Brown Ave." TwoFloor 105 60 3 Medium N2NEN Cost per Cost Per Square Floor Foot ($1000) na 87.6 18.9 na na 97.4 26.8 na na 112.6 Project Title Type 1 2 3 4 "Office at Madison "Light One Building" "Office at Newark "Paper Roll Building" FourFloor TenFloor FourFloor Ten Floor Days to Required Number complete Manpower of Floor 220 90 4 450 210 10 340 120 640 320 10 Cost Per Floor ($1000) 120.4 260.7 135.8 218.9 4. Using the ArrayList , show the total cost of each project using a for loop and a for each loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!