MCQ
Using which of the following class of Java the 1-D array of characters can be defined?
  • string
  • B
    char
  • C
    str
  • D
    c

Answer

Correct option: A.
string
string

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