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

public class Demo {
	private int v;
	public int getV() {
		return v;
	}
	public void setV(int v) {
		this.v = v;
	}
	public static void main(String[] args) {
		Demo demo = new Demo();
		demo.setV(123);
		System.out.printf("Demo v = %d\n", demo.getV());
	}
}
