Question: In java, create two contracts, each with at least three subcontractors. Print all the initial data. Modify the hours allocated to all of the subcontractors
In java, create two contracts, each with at least three subcontractors. Print all the initial data. Modify the hours allocated to all of the subcontractors in each of the two contracts. Print the new data and fix any problems you may encounter during modification.
All actions should take place in main (function and/or class) using the functions available in Contract and Subcontractor classes. Printing should also happen in main - that is, do not have System.out.print... anywhere outside main.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
