MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the code snippet? static void main(String args[]) { char chars[] = {'a', 'b', 'c'}; String s = new String(chars); Console.WriteLine(s); } |
| A. | A |
| B. | B |
| C. | Ab |
| D. | Abc |
| Answer» E. | |