Reference no: EM131270160
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
How much of the drug is eliminated during the first hour
: The rate at which the body eliminates a certain drug.- How much of the drug is eliminated during the first hour after it was administered? During the fourth hour?
|
What is the net effect on society
: Who are the winners and losers? What is the size of their gains and losses? What is the net effect on society?
|
What is the duration of the critical path
: Draw the network diagram. Which activities form the critical path? How much slack exists at activities A and F? What is the duration of the critical path?
|
Discuss the interview in an organized paper
: Choose a person to interview. This person should have experience with race, gender, and/or occupational stratification, either as a human resources manager, a hiring manager, or someone similar, OR you may choose someone who personally experienced..
|
Create a class named musicalinstrument
: Design and implement a musical instrument class along with 4 subclasses using the following guidelines: Create a class named MusicalInstrument and its four subclasses named Woodwind, Brass, String and Percussion.
|
Determine optimum order size and time between orders
: A TV manufacturing company uses speakers at the rate of 8000/mo. When it places an order for speakers it incurs a fixed cost of $1200. The monthly interest rate for keeping a speaker in stock is assessed at 1%/mo. The cost of the speaker depends on t..
|
Determining the great recession
: In recent years the US has seen what has been called the Great Recession. What active stabilization policies were used and how important were they. Do you believe such economic policies kept this from becoming the second Great Depression. Why?
|
Create an accessor and mutator function for field age
: What is static property? What is the difference between static property and non-static property? You are given a class below, create an accessor and mutator function for field age.
|
Market for possible replacement for the existing system
: The Chief Information Officer (CIO) at Old Dominion University –ODU- is trying to improve the university’s information network security. The CIO is trying to evaluate a new intrusion detection technology in the market for possible replacement for the..
|