Solved

Which of the Following Is a Legal Way to Declare

Question 24

Multiple Choice

Which of the following is a legal way to declare and instantiate an array of ten Strings?


A) String s = new String(10) ;
B) String[10] s = new String;
C) String[] s = new String[10];
D) String s = new String[10];
E) String[] s = new String; e

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions