// 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 Normal {
    public void doSomething(Foobar fb) {
        System.out.println(fb.getV());
    }
    public static void main(String[] args) {
        Foobar fb = new Foobar();
        fb.setV(123);
        Normal o = new Normal();
        o.doSomething(fb);
    }
}

class Foobar {
    private int v;
    public void setV(int v) {
        this.v = v;
    }
    public int getV() {
        return v;
    }
}
