public class Solmetest2{ public static void main(String[] argumendid){ Solm s1=new Solm(); Solm s2=new Solm(); Solm s3=new Solm(); s1.sisu=4; s2.sisu=3; s3.sisu=8; s1.vasak=s2; s1.parem=s3; System.out.println(s1.sisu+" "+s1.vasak.sisu+" "+s1.parem.sisu); } }