Find Jobs
Hire Freelancers

Data Structures with Stack and Queue -- 2

$30-250 USD

Completed
Posted over 3 years ago

$30-250 USD

Paid on delivery
● Implement the two classes using the descriptions on the next two pages. ○ The two collections that you build will store data of type ​int.​ ○ You need to include pre and post conditions comments above each method. They are provided with the class descriptions below but you should write them in your own words. ○ You must store the values that are added to these collections in private arrays called, “store”. Each class will have one. ○ You must automatically resize the array if it gets full. ■ When resizing, simply create a new array of double the previous size. ■ Write a separate private method for resizing. ■ Resizing should only happen when adding an int and only when the array is full. ○ The stack and queue will require exception classes called, “EmptyStackException” and “EmptyQueueException” respectively. These classes are provided with this assignment. ● Create two UML Class diagrams, one for ​ArrayStack​ and the other called ​ArrayQueue​. ○ You will need to use a program that enables you to do such modeling. ○ There are free programs available, Microsoft Visio (available through school), or you can use a desktop publisher. ○ Whatever program you decide to use, You should submit two PDF files, one called [login to view URL]​ which contains the diagram of the ArrayStack class, and the other called [login to view URL]​ for the diagram of the ArrayQueue. ○ Do not copy these diagrams from the internet. ● Implement a class called ​Main​ in which you will create the main method to test your two collections. ○ The main method will consist of only method calls. ○ You will write a test method for each test and call it from main. ○ Each test method should test only one method of a collection ○ Test every method of each collection. ○ Feel free to write as many helper-methods as you wish. ○ There will not be any need for a user interface in this program. ● Each test method will test the functionality of only one feature (method) of a collection and report whether it works or not. ○ The output of each test should include: ■ The name of the class under test ■ An explanation of what was tested. This output string should be stored in a variable and be the first statement in the method. ■ Whether the test passed or failed ○ Please organize this class in an orderly way.
Project ID: 27814612

About the project

6 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, Please see my previous projects done in Java. I'm expert in Java and can help you in this area. I ready your specification and it's straigith forward to me to do. will deliver all materials mentioned in your spec. Hope to hearing from you. Regards, Ramin.
$50 USD in 1 day
4.9 (88 reviews)
5.5
5.5
6 freelancers are bidding on average $98 USD for this job
User Avatar
Hi, I'm an expert in java programming. I can easily do this project for you. We can have a chat about it. Thanks.
$150 USD in 2 days
4.9 (319 reviews)
7.3
7.3
User Avatar
I am very proficient in java. I have 17 years java developing experience now, and have worked for more than 10 years. My work is online game developing, and mainly focus on server side, using java under Linux environment. I made many great projects using java, for example, I made the tools which could convert java files into c++ scripts, of course garbage collection included, this job was very similar to a compiler, and was very complex. I also made our own mobile game using java, I can show you the demo of client, if you like. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you. Besides, I am very proficient in c/c++ also, hope I can help you.
$70 USD in 1 day
4.9 (82 reviews)
6.5
6.5
User Avatar
hey i m expert injava project i have read all your instructions i will provide u good work its my promise u will like my work..i i have 4 years experience u can check my profile i have 5 star rating,,waiting for your message..thanks
$140 USD in 7 days
4.7 (54 reviews)
5.3
5.3

About the client

Flag of UNITED STATES
San Gabriel, United States
5.0
1
Payment method verified
Member since Oct 8, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.