Home / Programming MCQs / JAVA MCQs / Question

S

Shivam • 8.86K Points
Tutor III

Q. Which one of the following is a valid statement? 

(A) char[] c = new char();
(B) char[] c = new char[5];
(C) char[] c = new char(4);
(D) char[] c = new char[];

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.