Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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:

1. Design and implement a musical instrument class along with 4 subclasses using the following guidelines:

1. Create a class named MusicalInstrument and its four subclasses named Woodwind, Brass, String and Percussion.

2. The MusicalInstrument has a name, isPlaying, and isTuned data fields. It also has methods for setting and getting the values of each of the fields along with a method to display how the instrument is played. A constructor that sets the isTuned and isPlaying fields to false is also included in the MusicalInstrument class.

3. When you create your Woodwind, Brass, String and Percussion classes set the name and how to play the instrument as follows

Class Name Method to Play
Woodwind Woodwind Reeds
Brass Brass Mouth piece
String String Pluck and bow
Percussion Percussion Hit

1. Your app shoud include: a) a constructor that creates one instance of each instrument, b) methods for tuning your instruments, c) print the name of your instrument d) print how you play your instrument

2. Your programs should compile and run without errors.

Submission requirements:

Your deliverable is a Java file which will create an instance of each instrument, and will include the methods (isPlaying and isTuned). Zip and submit your entire Java project file. Your zipped project file should be submitted to your LEO Project 1 assignment area no later than the due date listed in the syllabus. Your zipped project folder should be named lastnameProject1.zip

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92024890
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

What are the overall cost leadership differentiation and

What are the overall cost leadership, differentiation, and focus strategies?

Scenario 1 19500 ascii characters are transmitted over a 3

Scenario 1: 19,500 ASCII characters are transmitted over a 3 Mbps circuit. The protocol uses 8-bits to encode each ASCII character, and adds an additional parity bit to help detect errors. Calculate the transmission effi ...

Hydrogen sulfide h2s a toxic gas redolent of sewage and

Hydrogen sulfide (H2S), a toxic gas redolent of sewage and rotten eggs, is prepared from hydrochloric acid and sodium sulfide by this reaction: 2HCl(aq) + Na2S(aq) → H2S(g) + 2NaCl(aq). Determine the percent yield if 3.7 ...

Two countries australia and france have their interest

Two Countries Australia and France have their interest rates to be 8% and 2 %, respectively. If their currencies trade according to 2 Australian $s buy one euro in the spot market, what will their future spot rate be in ...

Suppose pointers are 4 bytes long and keys are 12 bytes

Suppose pointers are 4 bytes long, and keys are 12 bytes long. How many keys and pointers will a block of 16,384 bytes have?

Subject digital securitybesides legal factors what are

Subject : Digital Security Besides legal factors, what are some of other important factors that need to be seriously considered when the cloud computing and service company(assuming) you work for decides to extend busine ...

The freemont automobile factory has discovered that the

The Freemont Automobile Factory has discovered that the longer a worker has been on the job, the more parts the worker can produce. I need help finding an application that computes and displays a worker's anticipated out ...

What are the minimum and maximum values in decimal if an

What are the minimum and maximum values (in decimal) if an 8-bit binary number is given unsigned and two's complement formats?

Question initial post respond to each prompt below1describe

Question: Initial Post: Respond to each prompt below. 1. Describe one hardware component that are essential to YOU as a consumer. Provide three options (brand, style, etc.) for the component. 2. Offer two new or interest ...

Aaninformationretrievalsystemhasacertainpairofaverageprecisi

(a) An information retrieval system has a certain pair of average precision and recall values when the system returns 10 documents in response queries. Would the precision and recall rate remain unchanged if the system w ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As