// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class Test {
    public static void main(String[] args) {
        Acc a = new Acc();
        for(int i = 0; i < 3; i++) {
            a.inc();
        }
        System.out.println(a.get());
    }
}
