What would be the resulting level of stock?

Consider the following code:

If the initial stock amount was 15, and 5 different clients (in different JVMs) attempted to execute the same code simultaneously, what would be the resulting level of stock?
A. 20, because Coherence does implicit locking
B. 15, because a concurrency control exception will be thrown
C. 16, because of the lack of concurrency control
D. undefined, because of the lack of concurrency control

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.