1 2 3 4 5 6 7 8
class Test { public static final String CONST = "foo bar"; private void test() { String s = CONST; System.out.println(CONST); } }