Free University of Bolzano/Bozen
Faculty of Computer Science - Bachelor in Applied Computer Science
Bachelor in Production Engineering
Introduction to Programming - A.A. 2004/2005

Lab Exam 8/4/2003

We want to realize a program to handle books rented at a library. For each book the following information is stored: author and title of the book, status of the book (rented or not), name of the person who rented the book.

Parte 1. Write a class Book that implements the following methods:

Example program: TestBook.java

Part 2. Write a class UseBook, client of Book, that contains the following public static methods:

Example program: TestUseBook.java


Solutions: Book.java, UseBook.java