class KujundiProov{ public static void main(String[] arg){ Ring r=new Ring(0, 0, 10); System.out.println(r.pindala()); Ruut r2=new Ruut(0, 0, 10); System.out.println(r2.pindala()); Kujund k=new Kujund(5, 5); System.out.println(k.nimetus()); } }