Ask Question
22 February, 20:09

Double[][] vals = {{1.1, 1.3, 1.5}, {3.1, 3.3, 3.5},

{5.1, 5.3, 5.5},

{7.1, 7.3, 7.5}}

What is the value of vals[4][1] in the array above?

1. 7.1

2. There is no such value.

3. 7.3

4. 1.1

+4
Answers (1)
  1. 22 February, 20:20
    0
    Option 3 i. e., 7.3 is the correct answer to the following question.

    Explanation:

    In the following two dimensional array that is the double data type 2-D array variable "val" and it contains some float type information in the form of matrix that has 4 rows and 3 columns, In the following statement, they asked the value of 4th row and 2nd column and in the matrix 4th row and 2nd column contain the value i. e., 7.3.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Double[][] vals = {{1.1, 1.3, 1.5}, {3.1, 3.3, 3.5}, {5.1, 5.3, 5.5}, {7.1, 7.3, 7.5}} What is the value of vals[4][1] in the array above? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers