// File: Wardrobe2_object_representation.java
// Time-stamp: "2004-12-19 23:00:46 calvanes"
// Scopo: Wardrobe: representation of the objects of the class

/*
  Alternative solution that makes use of an auxiliary class Hook to represent a
  hook.  See the comment in the other solution for a motivation for this
  choice.
*/

class Hook {
  boolean empty;
  String item;
}

public class Wardrobe2 {

  // representation of the objects
  private Hook[] hooks;
  
  // pubblic methods
  ...
}
