Q75
What will be the output of the following Java program? class String_demo public static void main(String args[]) char chars[] = 'a', 'b', 'c'; String s = new String(chars); System.out.println(s);
A.
a
B.
b
C.
c
D.
abc
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board