Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA CODING: (20 points) For this exercise, you are given two interfaces to start building action characters needed to become Superman. Download the codes (Action.java)
JAVA CODING:
(20 points) For this exercise, you are given two interfaces to start building action characters needed to become Superman. Download the codes (Action.java) from eLearn and study the codes carefully. You can run the down loaded program without any change. It should display the following: 6. I am Superman I can do the following: fight bad guys Swim faster than Michael Phelps To be Superman, you need to add a few more action interfaces: (10 points) Using the code from the following as reference interface CanEight Ivoid fight():1 Add an interface called Canfly Add an interface called CanClimb Add an interface called CanSwim The CanSwim has two abstract methods. They are void swimEast(); void treadH20(); You need to modify the Action class to implement the new interfaces You also need to add "yourself" (vourName) as another class type as that of Superman. 5 points) You need to modify the Action class (the one with the main ) to make your final result looks like the followingStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started