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.
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