Question: I have created the new class dLine and it has 4 players in it. The information for these players is inside of a different class.

I have created the new class dLine and it has 4 players in it. The information for these players is inside of a different class. I am having trouble searching for the numbers of the players so that I can return back all the information about the player. If you need more info then please let me know.
Creates 4 linemen (player objects that will be in the defensive line) Creates a defensiveLine object using these 4 players (see the description of the defensive line class below) Uses a method in defensiveLine to search for a player given by number and display the name, position, etc. of the player in the defensive line. The method has to deal with the case that the player is not found a part of code would like something like this o dl.search(50) // should find this player o dl.search(60) / test also with a player that will be "not found" o dl is the defensiveLine object, search is the method in defensiveLine that searches for player #50 and display its information don't ask for user input. Hard code the number to be searched. First, you have to design the new Java class called defensiveLine o A defensiveLine has 4 players, 2 with the position "defensive end" (DE) and with the position defensive tackle (DT) Create a method in defensiveLine.java 1. that searches for a player with a specific jersey number and displays the player information. If the player is not found displays a message saying so
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
