@@ -0,0 +1,348 @@
+%0Apublic class Walec %7B%0A%09public double r; // pole%0A%09public double h;%0A%0A%09public Walec(double promien, double wysokosc) %7B // kontruktor%0A%09%09this.r = r;%0A%09%09this.h = h;%0A%09%7D%0A%0A%09public void show() %7B%0A%09%09System.out.println(%0A%09%09%09%09%22Pole powierzchni: %22 + (r * r * Math.PI * 2 + 2 * Math.PI * r * h));%0A%09%09System.out.println(%22Objetosc: %22 + r * r * (long)Math.PI * h);%0A%09%7D%0A%7D%0A

Create Walec.java