Skip to content

Instantly share code, notes, and snippets.

View kl
public static void main(String[] args){
ArrayList<City> tour = new ArrayList<City>();
for(int i1 = 0; i1 < 100; i1++){
int c;
int b;
Random randomno = new Random();
c= randomno.nextInt(300);
b= randomno.nextInt(260);
City city = new City(b, c);
tour.add(city);
View Zadania Zestaw 5
/////////////////////////////////ZAD 5///////////////////////////////////////
public class Zad5Zew {
private static int pole;
private void doSomething() {
System.out.println("robie cos");
System.out.println("POLE " + getPole());
}
public int getPole() {
return pole;
}