I am referring to Sybex OCP Study Guide for IZO-809 , Chapter 1 , Topic Inner Classes. Quoting some text from the below code's explanation
"Line 15 uses the awkward syntax to instantiate a B. Notice the type is A.B. We could have written B as the type because that is available at the member level of B. Java knows where to look for it". However as per my understanding we are accessing B from static method, and hence directly using B as reference type will not work as it is not a static inner class. Please let me know if my understanding is correct