Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I have attached the homework document. I am using NetBeans as my IDE.

I have attached the homework document. I am using NetBeans as my IDE.

I need to turn this in as soon as possible. For this assignment you can use the cello.

–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. Youcan pick any instrument you want. When designing your class, think about what would make sense todescribe 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.–

Homework 3Before attempting this project, be sure you have completed all of the reading assignments, hands-onlabs, discussions, and assignments to date.(25 points) Create your own Java class that represents your favorite musical instrument. Your musicalinstrument class should have at least 3 constants,5 private data fields, getters and setters for eachprivate data field, a toString() method, and three additional methods of your choice. Create a test classthat constructs at least 5 of your musical instrument objects. For each of the objects constructeddemonstrate the use of each of the methods. Be sure to use your IDE to accomplish this assignment. Youcan pick any instrument you want. When designing your class, think about what would make sense todescribe and use the instrument. For example, if you selected a trumpet, you might need to provide thenumber of valves, the manufacturer, if the instrument is using a mute, the volume or even notes thetrumpet is playing. Make this your own creation and have fun with it.Grading Rubric:The following grading rubric will be used to determine your grade:AttributeExceedsMeetsDoes not meetDesign (5 points)(5 points)Exhibits proper use ofparameters, andselection of data typesall of the time.Employs correct andappropriate use ofprogrammingstructures (loops,conditionals, classesetc.) all of the time.Efficient algorithmsused all of the time.(3-4 points)Exhibits proper use ofparameters, andselection of data typesmost of the time.Employs correct andappropriate use ofprogrammingstructures (loops,conditionals, classesetc.) most of the time.Efficient algorithmsused most of the time.(0-2 points)Rarely exhibits properuse of parameters, andselection of data types.Rarely employs correctand appropriate use ofprogrammingstructures (loops,conditionals, classesetc.)Poorly structured andinefficient algorithms.Functionality (10points)(9-10 points)Extra effort wasapparent through theaddition of significantand additionalfunctionality beyondthe scope of theassignment.(7-8 points)Program fulfills mostfunctionality.Most requirementswere fulfilled.(0-6 points)Program does not fulfillfunctionality.Few requirementswere fulfilled.
Background image of page 1
Screen capturesprovideddemonstrating thesuccessful compilingand running of theprogram.Test cases (5 points)(5 points)Test cases providecomprehensivecoverage of all codepaths.Discussion of run-timeerrors included.(3-4 points)Test cases providecoverage of most codepaths.Test cases results welldocumented providingpass/fail results foreach test case.(0-2 points)No or insufficient testcasesMinimal supportingevidence provided toverify testing actuallytook place.Java Style Guide (5points)(5 points)Code impeccably neatand well-organized.Extensive In-linecomments providingadditional insight intocode design andfunctionality(3-4 points)Header commentsinclude filename,author, date and briefpurpose of theprogram.In-line comments usedto describe majorfunctionality of thecode.Meaningful variablenames and promptsapplied.Class names arewritten inUpperCamelCase.Variable names arewritten inlowerCamelCase.Constant names are inwritten in All Capitals.Braces use K&R style.(0-2 points)Code rarely followsrecommended Javastyle guideSubmission requirements:
Background image of page 2

Show 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"