It's asking me to create a simple book records program that holds a stack of books. That stack has to be a linked list and I have to implement it myself instead of using java.util.Stack.
I'm not sure where to start. Can anyone help me out? I can easily do this if I was allowed to use arrays.
When the program runs, it (1) reads book records from the input file, bookrecs.txt,
into a stack (implemented by you), (2) displays book records from the stack, and (3)
allows the user to remove a book (The user will be asked to enter the book ID) from
the stack. After the removal of a book, the program needs to display book records
from the stack to verify that the specified book has been removed.
Edit: Also, if someone could explain how to implement it as Queue too because I have to do to the same exact thing, but using a queue.