Page 1 of 1

About Question enthuware.ocpjp.v8.2.1111 :

Posted: Sat Mar 12, 2016 2:55 pm
by Felipe Romani
Hi guys, first sorry about my english. :D

Ok, this question is a bit confused :?: , once this code not compile because de "B" don't have a default constructor or a empty constructor.

Because that the subclass C cannot call B empty constructor inside your own constructor on line //C1.

thanks

Re: About Question enthuware.ocpjp.v8.2.1111 :

Posted: Sat Mar 12, 2016 9:30 pm
by admin
Did you try compiling it?
Please see the explanation given for option 4.
thank you,
Paul.

Re: About Question enthuware.ocpjp.v8.2.1111 :

Posted: Mon Mar 14, 2016 8:23 am
by Felipe Romani
I saw it now! I was caught in the trick, not me I heed the method in line // B1 possessed a comeback, i was wrong ugly! lol. :lol:

Thanks