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