December 23, 2009
Part 2 in my n-part series on Java interview questions...what does this print?class StaticTest { static class C { static { System.out.println("inside"); } } public static void main(String[] args) { System.out.println("before"); System.out.println(C.class.getName()); System.out.println("after"); } }
Posted by jeff at December 23, 2009 10:05 AM
