// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class Main1 {
    // note static
    public static class Foobar {
        @Override
        public String toString() {
            return super.toString();
        }
    }
    public void test() {
        // full syntax
        Main1.Foobar a = new Main1.Foobar();
        System.out.println(a);
        // abbreviated syntax
        Foobar b = new Foobar();
        System.out.println(b);
    }
    public static void main(String[] args) {
        Main1 o = new Main1();
        o.test();
    }
}
