package klassid; import java.io.*; import java.net.*; public class Veebilugemine { static String vastus=""; static int loendur=0; static void loeVeebist(String aadress){ try{ BufferedReader br=new BufferedReader(new InputStreamReader(new URL(aadress).openStream())); String rida=br.readLine(); while(rida!=null){ vastus+=rida+"\n"; rida=br.readLine(); } } catch(Exception ex){ex.printStackTrace();} } static void loendaAlgused(){ for(int i=0; i