Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

With our ship nearly fully upgraded, we decide that our cargo hold could be even more efficient. We make our way back to our home

With our ship nearly fully upgraded, we decide that our cargo hold could be even more efficient. We make our way back to our home station to speak with our friend in the engineering department again. After a long voyage home, we arrive. After docking our ship, we make our way to the center of the station. After arriving at the engineering department, we ask if there are any more modifications that can be done to our ship. He says that there is only one more available modification to the cargo bay and agrees to install it for us, for a price of course. Being low on credits, we venture back out into space to plunder some loot. After holding a few ships for ransom, we return to the station, sell our loot and return to the engineering department. After paying our credits, he begins work on our ships cargo bay. After being assured this new enhancement is the most efficient way of storage so far, we contently return to space to make our living as a feared space pirate. We can carry an unlimited number of items, as long as they dont exceed the maximum weight of the cargo bay, 25 Tons. (Use a Linked List that checks an items weight before placing it in the cargo hold. We must use a file to store and load our data. Items have attributes such as Name, Weight, Value, Durability and ID. (Create an object called Item) We now classify our items by separating them into 3 distinct categories Equipable, Consumable or Weapon. (You must implement these 3 classes that are subclasses of Item and they must have at least 3 unique attributes in each subclass) The following methods still have the same requirements from the assignment previous to this one: Add, Remove, Search, Sort, Filter, Display, and Ransack You must use a LinkedList for storage, and you CANNOT use the LinkedList that is built into Java. You absolutely MUST use your own LinkedList created from the notes given in Lecture 8. Your code should not contain any Arrays or ArrayLists

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Oracle8I Building Efficient Databases

Authors: Jonathan Lewis

1st Edition

0201715848, 978-0201715842

More Books

Students also viewed these Databases questions