/** * A test of the LibraryMember and Book classes * * @author CSC 142 * */ public class TestLibraryMember { /** * Entry point of the program */ public static void main(String[] args) { LibraryMember c = new LibraryMember(123456789); boolean b; b = c.borrowBook("Learning Java"); System.out.println("b = " + b + " (should be true)"); b = c.borrowBook("Java concepts"); System.out.println("b = " + b + " (should be false)"); b = c.returnBook(); System.out.println("b = " + b + " (should be true)"); b = c.returnBook(); System.out.println("b = " + b + " (should be false)"); } }