SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 313 Weeks Ago, 5 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 14 Oct 2017 My Price 7.00

Help me demonstrate an understanding of working

HELLO I HAVE ASKED THIS QUESTION 4 TIMES AND NO ONE HAS HELPED PLEASE HELP ME:

 

Help me demonstrate an understanding of working with bags in Java by implementing a class called ClothingBag that implements the BagInterface<MyType> in Java. The implementation should include the following:

 

Fields:

  • MyType[] myBag;
  • int numberofProducts;
  • Default_Capacity;

 

Methods:  

  • Constructor(): initialize bag
  • add()- Will be used to add a new entry.
  • toArray() - provides an array of the allocated bag 
  • isFull() - test whether the bag is at the maximum capacity.

 

Help Implement a BoutiqueBagDemo that tests the bag implementation class.

Methods:

  • testAddl() - will add the contents to the bag.
  • displayBag() - will display the contents of the bag.

 

I need to ensure that the program has the required class and a test class. Please show screenshots of the program's execution and output. Including all appropriate source code in a zip file please.

Answers

(5)
Status NEW Posted 14 Oct 2017 11:10 AM My Price 7.00

Dow-----------nlo-----------ad -----------the----------- fi-----------les----------- Â----------- -----------

Attachments

1529745170-BagDemo.zip
1529745177-output.PNG
Not Rated(0)