Implement this in Java: 

  1. A Cow is a Creature. A Dolphin is a Creature. A Fish 
     is a Creature. A Bass is a Fish. Cows live 15 years. 
     Dolphins live 40 years. Bass lives 16 years. A Guppy 
     is a Fish. Guppies live 2 years.

Continue to implement it in Java: 

  2. Anthony's Pets has an array of creatures on display in 
     the mall. The array is composed of a cow, a dolphin, a 
     bass and a guppy.

Next implement this modification: 

  3. All creatures have names. All dolphins are creatures; their 
     life span is 40 years. All cows are creatures; their life span 
     is 15 years. All fish are creatures; bass is a type of fish whose 
     life span is 16 years. Guppies are a type of fish; their life span 
     is 2 years. Anthony's Pets has an array of creatures on display in 
     the mall. The array is composed of a cow, a dolphin, a bass and a 
     guppy. The cow's name is Clarabella. The dolphin's name is Flipper.
     The guppy's name is Riddick. The bass's name is Adele. In your 
     program set all of this up. Then go through the array of creatures 
     and ask them to report their names and life span.

Hint: see lab notes. 

--