CS202 Java-155
Observer Methods
lpublic boolean isEmpty() 
l// Returns true if no components; false otherwise
l{
l  return (numItems == 0)
l}
lpublic int length() 
l// Returns the number of components in the list
l{
l  return numItems;
l}
l