Answer:
myvals[1][2] = 4
Explanation:
Int[][] myvals = {{2, 4, 6, 8}, {20, 40, 60, 80} }
This command means that we have the following matrix:
![\left[\begin{array}{cccc}2&4&6&8\\20&40&60&80\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/yvukoo4m2fygr6h5b64xte932oco8urzr1.png)
using the above two-dimensional array, what is the value of myvals[1][2]?
This is the element at first row, column 2.
First row is {2, 4, 6, 8}
First row, column 2 is 4. So
myvals[1][2] = 4