Skip to content

Instantly share code, notes, and snippets.

@szymonzo
szymonzo / kl
Created January 13, 2015 18:32
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);
/////////////////////////////////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;
}