This question's due date has already passed. You may post a tutorial, but there's no guarantee that the original asker will purchase the tutorial. But other people might!

Question

$10.00 Inventorypart 2

  • From Computer-Science: General-CS
  • Closed, but you can still post tutorials
  • Due on Mar. 04, 2012
  • Asked on Mar. 02, 2012 at 08:18:16AM
Asked by :
Grimtsunami
Grimtsunami Not confirmed
Rating :No Rating
Questions Asked: 17
Tutorials Posted: 0
 
 
Q:

PLEASE MAKE SURE THE ANSWER COMPILES AND HAS A SOURCE CODE PLEASE. ALSO THE PREVIOUS ASSIGNMENT POSTED AS AN ATTACHMENT IS FLAWED AND HAS NO SOURCE CODE SO PLEASE KEEP THAT IN MIND. pLEASE FIX MY PREVIOUS ASSIGNMENT AND ALSO DO THIS ASSIGNMENT THANK YOU VERY MUCH.

 

 

 

  • Modify the Inventory Program:

 

 

  • Create a new method that calculates the value of the entire inventory.

 

  • Create another method that sorts all of the array items alphabetically (ascending order) by the product name.

 

  • The application should declare and use an array to store 5 items.  This array will represent your product’s inventory.

 

  • Create a subclass of the selected inventory item.  Recall that the extends keyword is used to create an inheritance relationship. 

 

  • The subclass and existing class must past the is-a test.

 

  • The subclass must declare one applicable attribute along with the appropriate get and set methods.

 

  • The subclass must declare a method to calculate the restocking fee. The restocking fee should be calculated as 5% of the item’s price.

 

  • The application’s output should display all of the items in the inventory sorted (use the new sort method) and include the item number, the name of the product, the number of units in stock, the price of each unit, the new attribute, the restock fee and the value of the inventory of that product. In addition, the output should display the value of the entire inventory (use the new method to achieve this). All dollar values should be displayed as currency (i.e. $D,DDD.CC). Note:  You must use an Array to store your inventory items, the use of any other data structure will result in a significant point deduction.

 

 

Figure 3:  Sample Output, the additional attribute is Serial Number

 

  • Source code should adhere to the coding conventions outlined for this course

 

  • Post as an attachment in java format.

 

Post Certificate of Originality

 
attachement
 

Available Tutorials to this Question
 
$10.00
A++ Answer
  • This tutorial hasn't been purchased yet.
  • Posted on Mar. 02, 2012 at 10:04:28AM
Posted by :
savan231
savan231
Rating (19):C-
Questions Asked: 0
Tutorials Posted: 193,
Earned: $487.33
 
A:
Preview: ... achment ...

The full tutorial is about 4 words long plus attachments.

attachmentlogo

Attachments:
Inventorypart 2.zip (3K) 

 Jap/DVD.class
 Jap/Inventory1.class
 Jap/Inventory1.java
 ]