MCQ
What is used to declare-a 1- D array ?###In Java, how can be array elements accessed using index for each dimension ?
  • 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