Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribedimage text in transcribedimage text in transcribed

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

x-3+1, x23 Let f(x) = -*+3, * Answered: 1 week ago

Answered: 1 week ago

Question

1. Discuss the potential legal issues that relate to training.

Answered: 1 week ago

Question

3. Design a program for preparing for cross-cultural assignments.

Answered: 1 week ago

Question

2. Develop a program for effectively managing diversity.

Answered: 1 week ago