-2
score
809
views
no
status
CC BY-SA 3.0
Accessing Static Final Fields in Inner Classes in Java
I think the reason why new Test().new C().i works is because class Test is a top-level class and is treated as static . If you were to change your inner class C to be static then new C().i would work. However, you...