Issue with constructors of nested class
问题 This question is about interesting behavior of Java: it produces additional (not default) constructor for nested classes in some situations. This question is also about strange anonymous class, which Java produces with that strange constructor. Consider the following code: package a; import java.lang.reflect.Constructor; public class TestNested { class A { A() { } A(int a) { } } public static void main(String[] args) { Class<A> aClass = A.class; for (Constructor c : aClass