// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package adv2;

public class Test {
    public static void main(String[] args) {
        ABean a = new ABean();
        BBean b = new BBean();
        System.out.println(a + " " + b);
        a.setIv(123);
        a.setXv(123.456);
        a.setSv("ABC");
        b.setV(123456789);
        System.out.println(a + " " + b);
        a.reset();
        b.reset();
        System.out.println(a + " " + b);
    }
}
