subject
English, 15.07.2020 02:01 arnold2619

After pillaging for a few weeks with our new cargo bay upgrade, we decide to branch out into a new sector of space to explore and hopefully find new targets. We travel to the next star system over, another low security sector. After exploring the new star system for a few hours, we are hailed by a strange vessel. He sends us a message stating that he is a travelling merchant looking to purchase goods, and asks us if we would like to sell any extra weight we might have. We agree to sell him some items, however, we do not want to sell just anything, as some of our loot might have a better credit rate elsewhere. Unfortunately, we are unable to tell what kind of item is what, so we are unable to make the sale. On our way to the nearest space station we think of a way to classify the items in our cargo bay. We decide that it would be best to classify the items in our hold as equippables, consumable, and weapons. When we arrive at the station, we create a clear hierarchy for all of our items. After fencing our loot, we decide to rest at this station for the night. Items have attributes such as Name, Weight, Value, Durability and ID. (Create an object called 'Item') (5 points extra credit if this class is made Abstract).
We now classify our items by separating them into 3 distinct categories Equippable, 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)
We can carry an unlimited number of items, as long as they don't exceed the maximum weight of the cargo bay, 25 Tons. (Use an ArrayList that checks an item's weight before placing it in the cargo hold)
We need to be able to add and remove items by their name.
We need to be able to search for a specific type of item in our cargo bay based on the item's name and one of its attributes (Implement 2 searches - one on name and another on any attribute you choose).
We need to be able to sort items by their names alphabetically in descending order (A-2)
We need to be able to decode either the basic messages or advanced. Either one obtains full credit.
We need to know how many of each item we have in our cargo bay and display their attributes.

ansver
Answers: 2

Another question on English

question
English, 21.06.2019 14:30
Ihave to find 4 errors in each day of the week diary post. friday today was the last day of the school week so i are happy! mum made pizza to dinner. i really like mums pizzas. we watched a dvd after dinner. it was quite funny but my brother fall asleep on the sofa and didn’t see the end of the movie!
Answers: 1
question
English, 21.06.2019 23:30
Ineed ideas for this essay something easy that i can do does anyone have any ideas on what i should write on for this 100 points ! write a procedural essay with media that is 1 ½–2 pages in length. clearly state your topic, and include all steps necessary to complete the procedure. you will submit your prewriting and planning documents along with your essay.
Answers: 1
question
English, 22.06.2019 00:30
Which phrase best describes the role of irony in a written book? a. to validate readers’ beliefs b. to defy readers’ expectations c. to represent an idea d. to dramatize events apex
Answers: 2
question
English, 22.06.2019 00:50
What happened after gandhi’s quit india speech?
Answers: 1
You know the right answer?
After pillaging for a few weeks with our new cargo bay upgrade, we decide to branch out into a new s...
Questions
question
Biology, 23.12.2019 00:31
question
Mathematics, 23.12.2019 00:31
Questions on the website: 13722360