Created
August 23, 2011 07:08
-
-
Save sidharthkuruvila/1164529 to your computer and use it in GitHub Desktop.
Convert an array of chars into a String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char[] chars = {72, 101, 108, 108, 111}; | |
String s = new String(chars); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment