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

public class Demo {
	public static record Data(int iv, String sv) {
		public void test() {
			System.out.printf("test iv=%d sv=%s", iv, sv);
		}
	}
	public static void main(String[] args) {
        Data o = new Data(123, "ABC");
        o.test();
	}
}
