// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class Rec14 {
    public static record Data(int iv, String sv) { };
    public static void main(String[] args) {
        Data o = new Data(123, "ABC");
        System.out.printf("iv=%d sv=%s\n", o.iv(), o.sv());
    }
}
