Answer:
The value of x[8] is "180".
Explanation:
The description of the code as follows:
- In the given code we declare a variable that is "SUB" this is an integer type variable this variable uses the final keyword that is used to make variable constant and this variable holds a value that is "12".
- Then define an array that is "x". It is used to store integer values. and in the next line, an integer variable is defined that is "y" which holds value "100"
- In the loop, we increase all numbers by 10 and stores into an array. when the array size is equal to 8 it will store 180 value.