import java.io.*; public class grizzly{ public static void main(String arg[]) throws IOException{ int pikkus, kokku=0; String stroka,fail,slovo,vorto,vorto2; PrintWriter ekran=new PrintWriter(System.out, true); BufferedReader vvod=new BufferedReader ( new InputStreamReader(System.in)); ekran.println("Sisastage palun faili nimi."); fail=vvod.readLine(); ekran.println("Sisastage palun vaadeldav sona."); slovo=" "+vvod.readLine(); RandomAccessFile f=new RandomAccessFile(fail, "r"); stroka=f.readLine(); vorto=""; vorto2=""; while(stroka!=null){ for(int n=1;n