public class Proov1{ public static void main(String[] arg){ Kast k1=new Kast(50, 20, 10); Kast k2=new Kast(40, 20, 10); System.out.println(k1.ruumala()); System.out.println(k2.pikkus+" "+k2.ruumala()); } }