Question: could you write in java please thanks Q3. Java Class>> Person name: String Person Person(String) getName():String setName(String):void toString():String a) You are required to implement the

 could you write in java please thanks Q3. Java Class>> Person

could you write in java please thanks

Q3. Java Class>> Person name: String Person Person(String) getName():String setName(String):void toString():String a) You are required to implement the Person class as shown in the UML diagram above. [15] b) Write a driver/tester class for Person, which will: create and populate an LinkedList of four instances of the Person class. display the contents of the list using an enhanced for loop remove one person from the list and use a list Iterator to display the contents and also display the contents in reverse order. contain a method that will search for a given name in the list and if found returns the name and index at which it was located. If not found, a message is displayed indicating that the name was not located. [35]

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!