Page 1 of 1
About Question enthuware.ocpjp.v8.2.1586 :
Posted: Thu Mar 31, 2016 9:10 am
by Robbie
If the no arg constructor gets the access modifier of the class wouldn't that maken answer F Constructor for Inner is protected. also a correct answer (together with B)?
Re: About Question enthuware.ocpjp.v8.2.1586 :
Posted: Thu Mar 31, 2016 11:03 am
by admin
Option F is indeed the correct answer.
Re: About Question enthuware.ocpjp.v8.2.1586 :
Posted: Thu Mar 31, 2016 11:49 am
by Robbie
Ah I see it now, the Outer class is not public so answer B is indeed incorrect because the added no-arg constructor for Outer will have default access not public.
I also see that I mentioned option F but there is no F I meant option E (the last option) which indeed is correct.
I think it's funny that this question is rated as Easy, at least it wasn't for me

Re: About Question enthuware.ocpjp.v8.2.1586 :
Posted: Thu Mar 31, 2016 12:54 pm
by admin
Subjective. It is just based on a factoid. Not much logic in there

Yeah, E. I just scrolled and assumed it was F because you wrote F
