class String_demo { public static void main(String args[]) { char chars[] = {'h', 'e', 'm','a'}; String s = new String(chars); System.out.println(s); } }
Not registered? Create an account
Forgot Password?
Already a registered user? Login