About Question enthuware.ocpjp.v8.2.1468 :

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

Moderator: admin

Post Reply
everdelightedone
Posts: 3
Joined: Wed Apr 18, 2018 7:15 am
Contact:

About Question enthuware.ocpjp.v8.2.1468 :

Post by everdelightedone »

Explanation part contains
"Further, since the variables x and y are not declared as volatile, the updates"...
It looks like there should be "atomic" instead of "volatile"

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

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

Post by admin »

No, it is correct. You can't "declare" variables as atomic.
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 25 guests