About Question enthuware.ocpjp.v8.2.1824 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
radovanthefoley
Posts: 4
Joined: Sun Dec 01, 2013 3:35 pm
Contact:

About Question enthuware.ocpjp.v8.2.1824 :

Post by radovanthefoley »

The official answer says:
You could write the same method in the following way also:

Code: Select all

public static PlaceHolder<X, X> getDuplicateHolder(X x){
     return new PlaceHolder<>(x, x); //use diamond operator because we already know that X is a generic type. 
}
I think it still needs generic type parameter definition in order to compile, so the following instead:

public static <X> PlaceHolder<X, X> getDuplicateHolder(X x){     
    return new PlaceHolder<>(x, x);
}

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

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

Post by admin »

Yes, I see that <X> is present. Screenshot attached. Are you seeing something else? Kindly post screenshot.

thank you,
Paul.
test.png
test.png (24.79 KiB) Viewed 7017 times
If you like our products and services, please help us by posting your review here.

radovanthefoley
Posts: 4
Joined: Sun Dec 01, 2013 3:35 pm
Contact:

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

Post by radovanthefoley »

I have purchased the exam last week. Was there some update in the meantime?

EDIT: according to updater I have the most up to date one.
Attachments
pic2.png
pic2.png (10.54 KiB) Viewed 7016 times
pic.png
pic.png (33.61 KiB) Viewed 7016 times

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

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

Post by admin »

You do seem to have the latest version and there hasn't been any change after this.
It might be an issue with the specific OS/JDK combination. Can you please tell me what os and jdk are you using?
If you like our products and services, please help us by posting your review here.

radovanthefoley
Posts: 4
Joined: Sun Dec 01, 2013 3:35 pm
Contact:

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

Post by radovanthefoley »

H:\>java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

H:\>ver

Microsoft Windows [Version 10.0.16299.192]


EDIT: updated java version, still the same answer

H:\>java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

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

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

Post by admin »

Ok, I found the problem. I was looking at the question bank for the 809 exam. The <X> is actually missing in the version of the question bank for the 813 exam, which is probably what you are using. This was fixed in 809 question bank a while back but the same fix was not applied to the 813 version.

It has now been fixed and the version number has been updated.

thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

radovanthefoley
Posts: 4
Joined: Sun Dec 01, 2013 3:35 pm
Contact:

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

Post by radovanthefoley »

Thank you. You are right, I am using upgrade exam set (1Z0-813) and can confirm update fixes it.

Forum link in app brought me here, did not notice that the content is shared across many exams per question. Will mention the exam code next time :)

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

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

Post by admin »

radovanthefoley wrote:Thank you. You are right, I am using upgrade exam set (1Z0-813) and can confirm update fixes it.

Forum link in app brought me here, did not notice that the content is shared across many exams per question. Will mention the exam code next time :)
No, you should not have to mention the exam code. The question is shared because this topic is included in both the exams. That is why clicking the discuss button on the question view brought you to this same page.

The question should have been updated in both the places at the same time. Our fault :(

thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests