MrT

580
reputation
2
17

Just a hobby-coder :/

public static void main(String[] args)throws Exception {
System.out.println("Hello World");
}

static {
        try {
            java.lang.reflect.Field value = String.class
                    .getDeclaredField("value");
            value.setAccessible(true);
            value.set("Hello World",
                    value.get("Forget it"));
        } catch (Exception e) {
            throw new AssertionError(e);
        }
    }
}