Please complete the attached homework assignment following the grading rubric
/in Feeds /by adminPlease complete the attached homework assignment following the grading rubric
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 a Java class named HeadPhone to represent a headphone set.The class contains:Three constants named LOW, MEDIUM and HIGH with values of 1, 2 and 3 to denote theheadphone volume.A private int data field named volume that specifies the volume of the headphone. Thedefault volume is MEDIUM.A private boolean data field named pluggedIn that specifies if the headphone is pluggedin. The default value if false.A private String data field named manufacturer that specifies the name of themanufacturer of the headphones.A private Color data field named headPhoneColor that specifies the color of theheadphones.getter and setter methods for all data fields.A no argument constructor that creates a default headphone.A method named toString() that returns a string describing the current field values ofthe headphones.A method named changeVolume(value) that changes the volume of the headphone tothe value passed into the methodCreate a TestHeadPhone class that constructs at least 3 HeadPhone objects. For each of the objectsconstructed, demonstrate the use of each of the methods.Be sure to use your IDEto accomplishthis assignment.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,(3-4 points)Exhibits proper use ofparameters, andselection of data typesmost of the time.Employs correct andappropriate use ofprogrammingstructures (loops,(0-2 points)Rarely exhibits properuse of parameters, andselection of data types.Rarely employs correctand appropriate use ofprogrammingstructures (loops,

conditionals, classesetc.) all of the time.Efficient algorithmsused all of the time.conditionals, classesetc.) most of the time.Efficient algorithmsused most of the time.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.Screen capturesprovideddemonstrating thesuccessful compilingand running of theprogram.(0-6 points)Program does not fulfillfunctionality.Few requirementswere fulfilled.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.(0-2 points)Code rarely followsrecommended Javastyle guide
