import java.util.Date; import java.util.ArrayList; import java.util.List; class Member { private final String id; private final String name; private final List borrowings = new ArrayList<>(); public Member(String id, String name) { this.id = id; this.name = name; } public List getBorrowings() { return borrowings; } } class Book { private final String isbn; private final String title; private final List borrowings = new ArrayList<>(); public Book(String isbn, String title) { this.isbn = isbn; this.title = title; } public List getBorrowings() { return borrowings; } } class Borrowing { private Member member; private Book book; private Date borrowDate; private Date returnDate; public Borrowing(Member member, Book book, Date borrowDate, Date returnDate) { this.member = member; this.book = book; this.borrowDate = borrowDate; this.returnDate = returnDate; } public Member getMember() { return member; } public Book getBook() { return book; } public Date getBorrowDate() { return borrowDate; } public Date getReturnDate() { return returnDate; } } public class Example01 { public static void main(String args[]){ } }