CMIS 141 Homework 3
(25 points) 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.
10 years ago
20
Purchase the answer to view it

- violin.txt
- violintester.txt
- A descriptive essy
- CIS 515 Week 10 Technical Paper Database Administrator for Department Store
- Cousin Bruzie of radio station WABC schedules radio commercials in 60 second blocks.
- BUS 401 Principles of Finance Week 1 Quizzes__2015 Verison
- ETH 125 Week 3 CheckPoint Modern Challenges in Immigration
- BUS 499.. 2ND ASSIGMENT.. NO PLAGARISM PLS I NEED IT ASAP THANKS
- The following data were obtained from a survey of college students
- homework
- c
- Community Policing and Problem Oriented Policing
