Welcome to AssignmentCache!

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

Availability: In stock

$6.00

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

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

  • PRG421 Week 3 Lab 3.18 LAB Instrument information (derived classes)
$6.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.

[profiler]
Memory usage: real: 18350080, emalloc: 17983616
Code ProfilerTimeCntEmallocRealMem