-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library Management System #26
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
class Book {
private String title;
private String author;
private String genre;
private boolean available;
}
class Patron {
private String name;
private String contactInfo;
private ArrayList borrowedBooks;
}
public class LibraryManagementSystem {
private HashMap<String, Book> books;
private HashMap<String, Patron> patrons;
private HashMap<Book, Patron> borrowedBooks;
}
The text was updated successfully, but these errors were encountered: