Create java class that represents your musical instrument

Assignment Help JAVA Programming
Reference no: EM131144549

Create your own Java class that represents your favorite musical instrument. Your musical instrument class should have at least 3 constants, 5 private data fields, getters and setters for each private data field, a toString() method, and three additional methods of your choice. Create a test class that constructs at least 5 of your musical instrument objects. For each of the objects constructed demonstrate the use of each of the methods. Be sure to use your IDE to accomplish this assignment. You can pick any instrument you want. When designing your class, think about what would make sense to describe and use the instrument. For example, if you selected a trumpet, you might need to provide the number of valves, the manufacturer, if the instrument is using a mute, the volume or even notes the trumpet is playing. Make this your own creation and have fun with it.

Reference no: EM131144549

Questions Cloud

Developing strategic supplier relationship : How does oue use vendor selection in developing strategic supplier relationship?
Compare triggers with constraints : What is the purpose of OLE DB, ODBC, JDBC, ADO, and ADO.NET? Is there any similarity between these? If yes, suggest a suitable name to group these. Provide reasons to support your answer.
Write text analysis assignment on effective writing : For the three "Text Analysis" assignments, you are to write a one page, two paragraph piece of writing where in one paragraph.
What are the themes of six sigma : What are the Themes of Six Sigma?
Create java class that represents your musical instrument : Create your own Java class that represents your favorite musical instrument. Your musical instrument class should have at least 3 constants, 5 private data fields, getters and setters for each private data field.
What is the percent sidelap for the data given in problems : Aerial photography was taken at a flying height H ft above average terrain. If the camera focal plane dimensions are 9× 9 in, the focal length is f and the spacing between adjacent flight lines is X ft, what is the percent sidelap for the data giv..
Determine the direct impact of marketing for the health care : Determine the direct impact of marketing for the health care provider you selected. Outline a strategy for the health care provider you selected to determine the utilization of its products or services.
How firms raise funds through the use of debt : Identify how firms raise funds through the use of debt, equity, and retained earnings - steadily making payments and has an excellent personal and business credit history.
Determine the flying height of camera at time of exposure : Using photo coordinates for points 4 and GYM on image 5, determine the flying height of the camera at the time of exposure.

Reviews

Write a Review

 

JAVA Programming Questions & Answers

  Lambert''s vacation rentals

Write an application for Lambert's Vacation Rentals. Use separate ButtonGroups to allow a client to select one of three locations, the number of bedrooms

  Represent one book in java

Represent one book in java

  Explain how the loop displaying the menu

Explain how the loop displaying the menu is exited, what value does menuSel have when the program finishes? Describe what happens next when menuSel gets this value.

  Define a class datetime which has integer attributes day

Define a class DateTime which has integer attributes day, month, year and time(Use Military time, 1:00pm is 1300, no colon). Make DateTime Serializable and Comparable.

  One-dimensional array to solve the

In C#, Use a one-dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who gros..

  Write simple commission calculation program using IDE

Write a simple commission calculation program using IDE. Three Java application using Java NetBeans IDE to meet these additional and changed business requirements: The application will now compare the total annual compensation of at least two salespe..

  Projectyou will design and deliver a website foes fictional

projectyou will design and deliver a website foes fictional client. the project is split into two partspart a website

  Write an interactive program to maintain the space city

Write an interactive program, in Java, to aid in monitoring and maintaining all aspects of Tasks, Crew and Ship's, that is, maintaining the Space City.

  Write a program that takes 10 values representin

Using a loop, write a program that takes 10 values representin exam grades (between 0 and 100) from the keyboard and outputs the minimum value, maximum value, and average value of all the values entered. Your program should not accept less than 0 ..

  Calculate the area of the circle

Circle Area- Write an application that prompts the user for the radius of a circle and uses a method called circleArea to calculate the area of the circle

  Implement all the methods in each of the classes

You need to have an array for this database, the size of this database is given by MAX. You may simply set MAX to be 8 to save your effort in filling information.

  Simulating the behaviour of a train management system

You will develop the component classes of a program for simulating the behaviour of a train management system - You must implement these classes as if other programmers were, at the same time, implementing the code that instantiates them and calls t..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd