Question: 1) Extend the ProWrestler class in the Undertaker class 2) Implement the Entrance interface in the JohnCena class(The method should print out an appropriate message

1) Extend the ProWrestler class in the Undertaker class

2) Implement the Entrance interface in the JohnCena class(The method should print out an appropriate message for the entrance)

3) Implement the Entrance and StaresIntently interfaces in the Undertaker class(The implemented methods should just print an appropriate message)

4) Perform dynamic binding in the Start game class. Look at the notes to figure out how this works

5) Make a array of Wrestlers in the Start game class, and check who the strongest wrestler is.

6) In the ProWrestler class, implement the toString and equals methods. These override the Object class

Font > 3.12111 Paragraph drawing time object Select all Insert Editing +12 1 3 4 5 6 7 8 9 10 11 1213 14 15 16 package ProWrestlers; public class StartGame { public staticvoid doWrestlerEntry (ProWrestler prowrestler) { } String wrestlerName prowrestler.getWrestlerName(); System.out.print (wrestlerName +

Font > 3.12111 Paragraph drawing time object Select all Insert Editing +1 2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 package ProWrestlers; public class StartGame { public static void doWrestlerEntry (ProWrestler prowrestler) { } String wrestlerName prowrestler.getWrestlerName(); System.out.print (wrestlerName + " is entering"); //We would usually write the code for the wrestler's //entrance right here. public static void main(String[] args) { John Cena johnCena new JohnCena (); doWrestlerEntry (johnCena); //Perform Dynamic binding with Undertaker. Use doWrestlerEntry method //Create an array of all the wrestlers here. //Create two new classes of wrestlers. Choose your two wrestlers. Give them an appropriate //overall strength 080- //Create a method here to check which wrestler is the strongest in an array of wrestlers //The wrestler with the highest wrestler Overallstrength is the strongest } acer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

First we list down the classes that are not changed Entrance package ProWrestlers public interface Entrance public abstract void enters StaresIntensity package ProWrestlers public interface StaresInte... View full answer

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 Programming Questions!