How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro, Engineer
Category: Homework
Satisfied Customers: 12360
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

This project focuses on demonstrating your understanding of

This answer was rated:

This project focuses on demonstrating your understanding of classes and objects. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters. The project requirements include:

Design and implement a stringed musical instrument class using the following guidelines:

Data fields for your instrument should include number of strings, an array of string names representing string names (e.g. E,A,D,G), and boolean fields to determine if the instrument is tuned, and if the instrument is currently playing. You are welcome to add additional data fields if you like.
A constructor method that set the tuned and currently playing fields to false.
Other methods 1) to tune the instrument, 2) to start the instrument playing, and 3) to stop the instrument from playing.
Other methods as you see fit (Add at least one unique method).

Create a UML class diagram using a diagram tool (e.g. PPT, Visio) of your choice. Prepare the diagrams and place them in a word document along with a brief description of each of your classes.

Create Java classes for your instruments. Be sure that your code matches your design specifications and some minimal functionality is included. For example, if you called the method, you should at least print that the violin is playing. Similar functionality should be supplied when you stop playing, tune or call any of your methods. For example:

public void playviolin() {
System.out.println("The violin is now playing.");

Write the output from your Instrument class methods to a text file that a user entered from the command line arguments (e.g. java Mynamep3tst myfilename.txt). This allows your program to accept filenames from the user via a command line argument.

Finally, create a Java test class that simulates using your instrument class. In your test class be you should at a minimum: a) Construct 10 instances of your instrument, b) tune your instruments, c) Start playing your instrument, d) Call your unique method, and e) Stop playing your instruments. (Hint: Arrays and Loops will make your job easier and result in more efficient code!)

Your programs should compile and run without errors.

Be sure to test your program carefully. Provide a list of comprehensive test cases used to validate your application and include these test cases in your word document containing your UML diagrams and descriptions. Similar to Project 1, your test data can be shown in a table that includes input data, expected output, actual output and pass/fail results from the test.

Submission requirements:

Your deliverables include a Java instrument file, Java test file and a Word document. The Java instrument file should be named The Java test file should be named Your word document should include your test table, and UML diagrams and descriptions and be named Yournamep3.doc. Your completed assignment should be submitted to your Project 3 assignment area no later than the due date listed in the syllabus.
Welcome back
What is the deadline?
Customer: replied 2 years ago.


stringed musical instrument File
Unzip to get 2 java files
Compile test file
Run the test file from commandline providing a file name as commandline argument.

Here is UML:

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

so you can come back and ask me a question anytime.

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help.

Thank you for using this site!

Customer: replied 2 years ago.

Hey I am getting a error on the program you sent me it states Error: Main method not found in class tommybillupsp3.TommyBillupsp3, please define the main method as:
public static void main(String[] args)

I have created project for you.
Delete all created projects so far

Unzip to a real folder get NetBeans project folder

Open NetBeans

Click on file->open project

Navigate to unzipped folder and click open

The project will be shown in left pane (project explorer)

Right click on project ad click on properties

under categories(left pane), click on 'Run' to select.

In right pane, Browse to test file (TommyBillupsp3Test) as main class file

in argument box, put any text file name like a.txt

Click on ok


Right click on project and click Run to get output. output will laso be written to the filename given as argumet and this file will be created in project's root folder

Also change the class name in UML diagram :)

Customer: replied 2 years ago.

How long will I be able to access these files

For 7 days. You can ask me again for more days if you want.
Customer: replied 2 years ago.

How do I Unzip to a real folder get NetBeans project folder once I download. This is my first time using wikisend


Read here How to unzip

To download free winzip go to

Customer: replied 2 years ago.

I am installing winzip right now. The only thing I changed on your program was the name which showed no issue and this is the first answer you provided me with. When I went to run the program it was stating I need to add what I sent you in the previous email. Now I have to download all these other programs just for you to correct a problem. give me a sec while I download or try to figure out the question I asked. Please view the attachment and name it TBP3 and run it in netbeans so you can understand the error I am experiencing.

Customer: replied 2 years ago.

Okay -

I was able to see the outrun which showed as successful but where is program?


I was able to run the program but in the actual java program was missing? Was you still using the java program you sent me earlier?


Expand your project in NetBeans by clicking + sign.
Inside Source Pckages -> default package, you will find java files.
Customer: replied 2 years ago.

Can I use the same UML class diagram you gave me earlier.

Yes but change the class names in the uml.
Customer: replied 2 years ago.

Last question for tonight. It seems that I can export the files as a readable .java file in word art. I tried to export them but I keep running into issues. Thanks for your patients today.



You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 5 other Homework Specialists are ready to help you
Hi Tom,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes

Related Homework Questions