2D Arrays: Creation and Access

AP Computer Science A· difficulty 3/5

For rectangular 2D array m, columns:

  • A

    m.length()

  • B

    m[0].length

    check_circle
  • C

    m.length

  • D

    m.cols()

Explanation

For each row array, <code>length</code> is the column count.

Want 10 more like this — adaptive to your weak spots?

Related questions