I am unable to access any of the attributes & methods of the objects which compose the new Dog object??
1) Dog does not have any methods.
2) Dog's member variables are declared as
private to the Dog class and are not
exposed to the classes outside Dog.
3) The constructor Dog(Collar) does not
properly initialize a Dog instance. The
c member variable is not initialized to
a non-null value.
[ September 28, 2002: Message edited by: Barry Gaunt ]