Why can\'t we instantiate a class with a protected constructor if its child is in a different package? If protected variables and methods can be accessed, why doesn\'t the s
I agree with previous posters, don't know why you would want to do this (instantiate parent in that way in extending class) but you could even do something like this:
public void test() {
A obj = new A(){}; // no compilation error; why? you use anonymous class 'override'
...