import pack3.*; /* Author: James Tam Version: March 27, 2017 Original version: July 10, 2006 This driver class is used to illustrate packages in Java. It refers to the classes in three different packages: pack1, pack2, pack3 which reside in three subdirectories of the same name as the package. Since this class isn't explicitly associated with any package it becomes part of a default package to which all classes in the same directory as this class belong. To try this example out you need to copy the source code in Driver.java to a base directory. Within that base directory you then need to make three subdirectories: pack1, pack2, pack3. Copy the appropriate source code from my directories the corresponding directory that you just created e.g., copy the IntegerWrapper.java from my pack1 directory to your pack1 directory. When you compile and run your program make sure that you do so from the base directory (where the Driver.java file should reside and where the pack1, pack2, pack3 subdirectories reside). */ public class Driver { public static void main(String [] argv) { pack1.IntegerWrapper iw1 = new pack1.IntegerWrapper(); pack2.IntegerWrapper iw2 = new pack2.IntegerWrapper(); System.out.println(iw1); System.out.println(iw2); OpenFoo of = new OpenFoo (); System.out.println(of); of.manipulateFoo(); } }