Library management system project in java eclipse

broken image
broken image

(' Please Select From The Following Options: ') Static ArrayList BookList = new ArrayList () Static ArrayList UserList = new ArrayList() SORRY again for all the inconsistencies in my code and i really really appreciate the help!

broken image

The program runs so far but its lacking depth because I'm lost as to how to check out/in books under a certain specified patron. How would I be able to create status' for each book? for example if 'great expectations' is checked out, how can assign 'borrowed' to it and make sure no one else can borrow it? I put a lot of the code in the main method but i end up having a lot of problems with static and non static stuff However how would i be able to assign certain checked out books to a certain user & make sure they borrow no more than 3? I have 2 ArrayLists, one for a list of inputed Users and another for a list of inputed Books. I'm really beginner at java so I apologize that my code is all over the place and may not make sense.īelow is the library class that I attempted(i also have a separate Patron, Book and Book Interface class) I'm supposed to create a library program in java that allows you to create patrons and check out a maximum of 3 books.

broken image