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 2/2/2005

We want to realize a program for collecting statistical data about apartments. For each apartment, the following information is stored:

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

Example program: TestAparment.Java

Part 2. Write a class UseApartment, client of Apartment, that contains the following public static method:

Example program: