blob: c96e20164735e5d42a6e6e93c5a651d8f1b3aedc [file] [log] [blame]
public final class Foo {
private static Object f1 = new Object(); // Can be final but unused
private static Object object; // can't be final
Foo() {
object = new Object();
}
public static void main(String[] args) {
System.out.println(Foo.f1);
System.out.println(Foo.object);
}
}