Example #1
0
 public static void printDetails(Animal animal) {
   animal.color();
   animal.numberOfLegs();
 }