public class test { private String one; private String two; public test(String one, String two) { this.one = one; this.two = two; } public static final test alpha = new test("foo", "bar"); public final static test beta = new test("baz", "boo"); }