Question: in java language please Question 250pt]: Write the necessary codes for the given UML class diagrams. In main method, create 2 objects, one from KibishiFighter
![in java language please Question 250pt]: Write the necessary codes for](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f578594f675_16066f57858be646.jpg)
in java language please
Question 250pt]: Write the necessary codes for the given UML class diagrams. In main method, create 2 objects, one from KibishiFighter and one from HybridFighter classes, and create variable called isDead (boolean). While any Fighter is alive (isDead false), one should attack another, and its opponent should defense. Each attack method (attackTo, judo Attack To etc.) should decrease (you decide amount) the health of opponent Fighters. Defense methods increase belonging fighter's health. Print out their health when one is dead. Note that methods in Klbishi Fighter and HybridFighter classes were not written. However, you can know them using parent-child (superclass-subclass) relationship given by UML.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
