Addresses (6)

   // Addresses continued
   void loop() {
      String name;

      System.out.println(
               "Enter name or <return>");
      try {
         while ( ! "".equals(name =
                 readLine(System.in))) {
            list.printMatches(name);
            System.out.println(
               "Enter name or <return>");
         }
      } catch(Exception e) {
      }
   }


Slide 14 ©Copyright 1997 Jan Newmarch