PRG/421 Week 3 Java 3.18 LAB: Instrument information (derived classes)

Availability: In stock

Regular Price: $6.00

Special Price: $3.00

OR

PRG421 Week 3 Lab 3.18 LAB Instrument information (derived classes)

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

PRG/421 Week 3 Lab 3.18 LAB: Instrument information (derived classes)


Given main() and the Instrument class, define a derived class, String Instrument, for string instruments.
Ex. If the input is:
Drums
Zildjian
2015
2500
Guitar
Gibson
2002
1200
6
19


the output is:
Instrument Information:
Name: Drums
Manufacturer: Zildjian
Year built: 2015
Cost: 2500
Instrument Information:
Name: Guitar
Manufacturer: Gibson
Year built: 2002
Cost: 1200
Number of strings: 6
Number of frets: 19

Regular Price: $6.00

Special Price: $3.00

Details

PRG/421 Week 3 Lab 3.18 LAB: Instrument information (derived classes)

Given main() and the Instrument class, define a derived class, String Instrument, for string instruments.
Ex. If the input is:
Drums
Zildjian
2015
2500
Guitar
Gibson
2002
1200
6
19

the output is:
Instrument Information:
Name: Drums
Manufacturer: Zildjian
Year built: 2015
Cost: 2500
Instrument Information:
Name: Guitar
Manufacturer: Gibson
Year built: 2002
Cost: 1200
Number of strings: 6
Number of frets: 19

Additional Information

Special Price $3.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.