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
LogicPro, Engineer
Category: Homework
Satisfied Customers: 9531
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
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

Resolved Question:

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 violin.play() 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 Yournamep3.java. The Java test file should be named Yournamep3test.java. 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.
Submitted: 10 months ago.
Category: Homework
Expert:  LogicPro replied 10 months ago.
Hi,
Welcome back
What is the deadline?
Customer: replied 10 months ago.

Tonight.

Expert:  LogicPro replied 10 months ago.
Download:
zip
stringed musical instrument File Read4.zip
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:
docx
StringedMusicalUML.docx

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:

http://www.justanswer.com/homework/expert-logicpro/

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 10 months 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)

Expert:  LogicPro replied 10 months ago.
I have created project for you.
Delete all created projects so far
Download:
http://wikisend.com/download/295412/TommyBillupsp3.zip

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

Now

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 10 months ago.

How long will I be able to access these files

Expert:  LogicPro replied 10 months ago.
For 7 days. You can ask me again for more days if you want.
Customer: replied 10 months ago.

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


 

Expert:  LogicPro replied 10 months ago.

Read here How to unzip http://kb.winzip.com/kb/entry/82/

To download free winzip go to http://www.winzip.com/win/en/downwz.htm

Customer: replied 10 months 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.

Expert:  LogicPro replied 10 months ago.
ok
Customer: replied 10 months 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?


 

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

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

Expert:  LogicPro replied 10 months ago.
Yes but change the class names in the uml.
Customer: replied 10 months 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.


 

Expert:  LogicPro replied 10 months ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 9531
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
LogicPro and 5 other Homework Specialists are ready to help you
Expert:  LogicPro replied 10 months ago.
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:
http://www.justanswer.com/homework/expert-logicpro/
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
LogicPro

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience
 
 
 

Related Homework Questions