MCQ
Pair of …………. brackets are used to declare 2-D array in java.
  • A
    ( ) ( ) 
  • [ ] [ ] 
  • C
    { } { } 
  • D
    < > < >

Answer

Correct option: B.
[ ] [ ] 
(B) [ ] [ ]

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