Question: Create your own Linked List class and Link class in java. In the link object, you should be able to store a person's name, age,

Create your own Linked List class and Link class in java.
In the link object, you should be able to store a person's name, age, degree and year of study
Examples:
Write a method that takes in:
1) Print List
OR
1) Any attribute name (name/age/degree/yearOfStudy)
2) A value for that attribute (Steve,26, ARTS, 2)
3) An action (remove/print)
Example:
Input:
Name
Bunny
print
Output:
Bunny, 26, CSSE, 2
Input:
PrintList
Output:
Bunny, 26, CSSE, 2
Larry, 18, ARTS, 1
Steve, 32, ComputationalThinking,4
Input:
Age
32
Remove
PrintList
Output:
Bunny, 26, CSSE, 2
Larry, 18, ARTS, 1
Create your own Linked List class and Link class

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