i need this asap. in java plz.
Question . (Magician.java, Healer.java, Fighter.java, HeroTester.java) Consider the abstract hero class and the three ubclasses shown below Hero -bealth Hero Inane i String takeDanage (danage Ant) aDeado : boolean tostringString st.rength: Int dexterity Magician( FighteE Healer f get St.renght Oint toStcing String toitring String Review the hero class to see how it works (it's in the project/package for you already). Your job is to implement the following subclasses. Each of the subclasses has an extra data field that relates to their specific hero talent. Some help with these special talents and other methods are below. Fighter: The fighter has an extra data field called Strength and a method called Berserk. When the fighter calls Berserk they do damage equal to 1/3 of their existing health BUT they lose 1/4 of their existing health (round to integer values Using Berserk costs one Strength point. When a fighter is constructed they have 3 strength points. -the dealDamage() method for the fighter does between 7 and 10 points of damage Magician: The magician has an extra data field called Mana and a method called Lightning. When the magician calls Lightning the damage they inflict is quadruple what it would have been otherwise. Call the existing dealDamage function and quadruple the value before dealing it to the enemy. Using Lightning costs 1 Mana point and a magician has 4 Mana points to start with. -the dealDamage() method for the magician does between 4 and 6 points of damage Healer: The healer has an extra data field called Dexterity and a method called Heal. When the healer calls Heal each LIVING member of the party receives between 5 and 10 health points (not to pass 100) and each receives one point back to their special skill (dexterity, mana or strength). Calling Heal costs 2 Dexterity points and a healer starts with 4 Dexterity. Hint: The heal method determines how many points are restored to each party member's health. Let your main method do the actual work of healing the surviving heroes