Solved

Which of the Following Is a Legal Way to Declare

Question 51

Multiple Choice

Which of the following is a legal way to declare and instantiate an array of 10 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;

Correct Answer:

verifed

Verified

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

Related Questions