If someone could give me some advise... I cannot pass the fifth condition. I have trying for days and cannot find the bug. Thank you!
package com.codegym.task.task24.task2408;
import java.util.List;
/*
How to avoid Copy+Paste
*/
public class Solution {
public static void main(String[] args) {
List<Pet> pet = Util.getPets();
List<CanSpeak> pets = Util.convertPetToCanSpeak(pet);
Util.printDialog(pets);
}
}