Hi guys, first sorry about my english.
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
About Question enthuware.ocpjp.v8.2.1111 :
Moderator: admin
-
- Posts: 2
- Joined: Sat Mar 12, 2016 2:45 pm
- Contact:
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1111 :
Did you try compiling it?
Please see the explanation given for option 4.
thank you,
Paul.
Please see the explanation given for option 4.
thank you,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 2
- Joined: Sat Mar 12, 2016 2:45 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1111 :
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.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 50 guests