import java.io.RandomAccessFile; /*dlja zagruzki v Javu komponenta dlja obrabotki filov*/ class Kodu { public static void main(String arguments[]) throws Exception{ String failinimi="pr2pilt.txt"; RandomAccessFile f=new RandomAccessFile(failinimi,"r"); /*etot file budet tol'ko chitatsa*/ String sona="Java"; String stroka; /*chtenije zeloi stroki*/ String pere=""; int arv=0; stroka=f.readLine(); /*chitaet zeluju stroku s textovogo file'a*/ do{ for (int q=0;q