Question: 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:

JAVA CODING: (20 points) For this exercise, you are given two interfacesto start building action characters needed to become Superman. Download the codes(Action.java) from eLearn and study the codes carefully. You can run the

(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 following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!