MCQ
What does a pair of square brackets specify which is used to declare 2-D array in Java?
  • Rows and columns
  • B
    Columns and rows
  • C
    Columns and columns
  • D
    Rows and rows

Answer

Correct option: A.
Rows and columns
Rows and columns

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free