1 After one week of working on the lab (so after the second lab class allocated to lab 5), you must demonstrate your current progress by submitting your partial solution to eSubmit. In the comments for your code, explain how you are storing the data of the system and outline how your classes are going to work. eSubmit will test the creation of Packages and Containers by printing. It will insert Packages into Containers. It will also see if you can create an empty Shipyard by using the various print methods for the Shipyard. (Note: Your Container class must have an insert(package) method that inserts a package into the container. Not all that will be tested in this part will be consistent with the main specification of the shipyard. For example, we will create an empty Container with a destination, but in the fully implemented Shipyard, you won’t create a Container until you have a Package to place in it.)
2 Your task is to write the complete shipping container management system. You must use link(reference)-based linked lists to implement the system, and you should organize your program into (several) reasonable user-defined classes used by a main program (the only thing your instructor should have to do to run your system is call main()). Minimally, you should have a Shipyard class, a Container class, and a Package class. The Shipyard will have a linked-list of Containers, and each Container will have a linked-list of packages (so your overall data structure must be a linked-list of linked-lists!).
Get Free Quote!
286 Experts Online