Which pair of load and modify statement should be inserted in the code?

Given the code fragment: Which pair of load and modify statement should be inserted in the
code? The load statement should set the array’s x row and y column value to the sum of x
and y The modify statement should modify the array’s x row and y column value by
multiplying it by 2

Given the code fragment: Which pair of load and modify statement should be inserted in the
code? The load statement should set the array’s x row and y column value to the sum of x
and y The modify statement should modify the array’s x row and y column value by
multiplying it by 2

A.
Load statement: array2d(x,y) = x + y; Modify statement: array2d(x,y) = array2d(x,y)
* 2

B.
Load statement: array2d[x y] = x + y; Modify statement: array2d[x y] = array2d[x y] *
2

C.
Load statement: array2d[x,y] = x + y; Modify statement: array2d[x,y] = array2d[x,y] *
2

D.
Load statement: array2d[x][y] = x + y; Modify statement: array2d[x][y] =
array2d[x][y] * 2

E.
Load statement: array2d[[x][y]] = x + y; Modify statement: array2d[[x][y]] =
array2d[[x][y]] * 2



Leave a Reply 4

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


Eniola Olaleye

Eniola Olaleye

Finally passed Oracle 1Z0-803 exam few days ago! Scored 91% (the passing score is 63% now)!

70 questions in my actual 1Z0-803 test.

– Most of the questions are on Giving Code … tell the result, insert CODE, choose the best option …etc.

– Only few questions on Java: advantages of the Java exception mechanism, benefits of using ArrayList over array, valid types for switch, Java Exception classes, two-dimensional array, improve the encapsulation of a class, java class declaration … and so on.

Prepared exam with valid 1Z0-803 dumps from PassLeader (http://www.passleader.com/1z0-803.html) (272q VCE and PDF), all questions were same as my 1Z0-803 exam, the most valid 1Z0-803 dumps for 100% passing now!