Question: Hello my Chegg experts, I need your help on this weeks Java programming task. Below is the task for this week can you please help

Hello my Chegg experts, I need your help on this weeks Java programming task. Below is the task for this week can you please help me with this? I have one more task afte this one, and I'll be finaly done with all my task.. The book for the class is Introduction to Java Programming, Comprehensive Version Y. Daniel Liang & Prentice Hall 11th Edition / 2018. We are currently working in Chapter 13. but this task covers all learned from week 1 through week 13. I would like to thank everyone that works for Chegg, if it were not for you guys I would not have passed this class. Thank you

Task for this week Write a program that will compile a list of instruments from different instrument families. A family of musical Instruments is a grouping of several different but related sizes or types of instruments. Ref: https://en.wikipedia.org/wiki/Family_(musical_instruments) Some commonly recognized families are:

Brass Family - A brass instrument is a musical instrument that produces sound by sympatheticvibration of air in a tubular resonator in sympathy with the vibration of the player's lips.

Ref: https://en.wikipedia.org/wiki/Brass_instrument

Strings Family - String instruments, stringed instruments, or chordophones are musicalinstruments that produce sound from vibrating strings.

Ref: https://en.wikipedia.org/wiki/String_instrument

Woodwind Family - Woodwind instruments are a family of musical instruments within the moregeneral category of wind instruments. There are two main types of woodwind instruments:flutes and reed instruments (otherwise called reed pipes). What differentiates theseinstruments from other wind instruments is the way in which they produce their sound.

Ref: https://en.wikipedia.org/wiki/Woodwind_instrument

Percussion Family - A percussion instrument is a musical instrument that is sounded by beingstruck or scraped by a beater (including attached or enclosed beaters or rattles); struck, scrapedor rubbed by hand; or struck against another similar instrument.

Ref: https://en.wikipedia.org/wiki/Percussion_instrument

Constraints

Limit the number of families to the list aboveUse one separate (external to the main class) abstract super class: InstrumentUse three separate (external to the main class) abstract subclasses that extend Instrument:oBlownInstrumentoFingeredoStruckUse four separate (external to the main class) subclasses (families) that extend the appropriate three aboveoBrassoStringsoWoodwindoPercussion

Requirements

Display the menu shown in the example output belowRequest the number of instruments to be enteredAll instruments should be placed into an array (you can use one array per family or one array for all entered) so they may be displayedUse set and get methods where appropriateImplement a loop that will allow the user to enter more instrumentsUse exception handling and validation where appropriateThis assignment will use coding principles learned from week 1 through 13

Hints

Make sure you use Java coding conventions

Expected Output

Below is a sample run where instruments are entered for each family. User input is in BOLD

Select one of the following instrument families:

1.Brass

2.String

3.Woodwind

4.Percussion

5.Display all instruments

6.Exit

->: 1

How many brass instruments would you like to enter? ->: 3

Enter instrument #1->: bugle

Enter instrument #2->: trumpet

Enter instrument #3->: tuba

Display instruments?

(Y for Yes, N for No)->: n

Enter more instruments?

(Y for Yes, N for No)->: y

1.Brass

2.String

3.Woodwind

4.Percussion

5.Display all instruments

6.Exit

->: 2

How many string instruments would you like to enter? ->: 2

Enter instrument #1->: guitar

Enter instrument #2->: harp

Display instruments?

(Y for Yes, N for No)->: n

Enter more instruments?

(Y for Yes, N for No)->: y

1.Brass

2.String

3.Woodwind

4.Percussion

5.Display all instruments

6.Exit

->: 3

How many wood wind instruments would you like to enter? ->: 2

Enter instrument #1->: clarinet

Enter instrument #2->: oboe

Display instruments?

(Y for Yes, N for No)->: n

Enter more instruments?

(Y for Yes, N for No)->: y

1.Brass

2.String

3.Woodwind

4.Percussion

5.Display all instruments

6.Exit

->: 4

How many percussion instruments would you like to enter? ->: 2

Enter instrument #1->: drum

Enter instrument #2->: marimba

Display instruments?

(Y for Yes, N for No)->: n

Enter more instruments?

(Y for Yes, N for No)->: y

1.Brass

2.String

3.Woodwind

4.Percussion

5.Display all instruments

6.Exit

->: 5

The bugle is a brass instrument and is played by mouth.

The trumpet is a brass instrument and is played by mouth.

The tuba is a brass instrument and is played by mouth.

The clarinet is a woodwind instrument and is played by mouth.

The oboe is a woodwind instrument and is played by mouth.

The guitar is a string instrument and is played with fingers.

The harp is a string instrument and is played with fingers.

The drum is a percussion instrument and is struck.

The marimba is a percussion instrument and is struck.

Enter more instruments?

(Y for Yes, N for No)->: n

Goodbye

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!