Question: Please note: For part (b) your program has two java files: the person class and a class that holds the main program. For part (c)
Please note:
For part (b) your program has two java files: the person class and a class that holds the main program.
For part (c) you will have 3 java files: the person class, the personList class and a class that holds the main program.
Q 1. Implement the following in Java: a Create a data type Person with three string fields: firstName, lastname and id. The field id is unique to each person. Add accessor methods, a constructor with three parameters, and the toString() method. b Within the main() program, instantiate a linked list (use the Java LinkedList class). Write the following functions(methods) that the main program will invoke all these will be static methods of the main class): store (,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
