import java.io.IOException; public class Tekstikatse1{ public static void main(String argumendid[]) throws IOException{ String lause=Tekstiabi.kysiVastus("Palun lause:"); System.out.println("Lause on: "+lause); System.out.println("Lauses on so~na \"ja\" "+ Tekstiabi.loenda(lause, " ja ")+ " korda." ); } }