Computer Applications

For a multidimensional array B[9][15] find the total number of elements in B.

Java Arrays

1 Like

Answer

The total number of elements in array B is as follows:

Total elements = number of rows x number of columns
                        = 9 x 15
                        = 135

Answered By

2 Likes


Related Questions