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 19/2/2003 (1)

We want to realize a program to handle a document archive. For each document the following information is stored: name of the author, title of the document, and number of available copies.

Part 1. Write a class Document that implements the following methods:

Example program:

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

Example program: