Clarification request on question ID enthuware.ocajp.i.v7.2.983

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
flex567
Posts: 202
Joined: Mon Apr 02, 2018 8:40 am
Contact:

Re: Clarification request on question ID enthuware.ocajp.i.v7.2.983

Post by flex567 »

Currently answer 4 is phrased like this

Code: Select all

Object o = b; Runnable r = (Runnable) b;
Could answer 4 be phrased like this:

Code: Select all

Runnable r = (Runnable) b;
Because unlike previous answers these 2 statements are not related.

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: Clarification request on question ID enthuware.ocajp.i.v7.2.983

Post by admin »

No, the option is fine as it is. You may see options that don't make much sense in practice but that test your Java knowledge nevertheless.
If you like our products and services, please help us by posting your review here.

Mikhail Volkov
Posts: 8
Joined: Mon Jul 29, 2019 11:25 am
Contact:

Re: Clarification request on question ID enthuware.ocajp.i.v7.2.983

Post by Mikhail Volkov »

Hello! Please, tell me - did I paint correct schema for to solve this question? http://joxi.ru/52aEWXTEa8G720
I think, that when I have correct schema it is easier to find correct answer.
But I'm not sure...

In the fact I find very strange - make Interface as Type of reference... For Why?
Attachments
e271eb3ab8.png
e271eb3ab8.png (10.03 KiB) Viewed 3668 times

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: Clarification request on question ID enthuware.ocajp.i.v7.2.983

Post by admin »

Yes, your class diagram is correct.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 92 guests