A mistake in enthuware.ocajp.i.v8.2.1208
Posted: Sat Nov 07, 2015 12:03 pm
It should be B(){} , because the default constructor has always the same accessibility as the accessibiliy of the class ( class B has default access ).Class B's default constructor looks like this: public B() {}