Does anybody know how to code this using linked list java? (Car parking System) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does anybody know how to code this using linked list java? (Car parking System)

The program should add, edit, and delete the customers info: lastname, firstname, age, and contact number. The program should display the vacant space for the customers to park and allow the customers to park in the available space selected. The customers with highest number of parks will be displayed.

2nd Jan 2021, 4:26 AM
maxiel
maxiel - avatar
1 Answer
+ 2
Unless this is for school and the whole point of it is to practice implementing your own linked list data structure, use Java's java.util.LinkedList class. The standard LinkedList class is fully documented at: https://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html Some example code is mentioned at: https://www.javatpoint.com/java-linkedlist
2nd Jan 2021, 7:07 AM
Josh Greig
Josh Greig - avatar