Which of the following is a correct declaration in java?
Answer options
A
char[] Tic = new char();
B
char[] Tic = new char[19];
C
char[] Tic = new char(14);
Correct answer: char[] Tic = new char[19];
Explanation
In Java, char arrays are declared with square brackets and size: 'char[] Tic = new char[19];'. Using parentheses like new char() or new char(14) is invalid syntax.