

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the given 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 |
Answer» E. | |