Q129
What will be the output of the following C# code snippet? static void main(String args[]) char chars[] = 'x', 'y', 'z'; String s = new String(chars); Console.WriteLine(s);
A.
x
B.
xy
C.
z
D.
xyz
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board