java-- string and char
Note: String objects are stored in a special memory area known as the "string constant pool".
- features
- immutable
str is a string
make string sorted;
``
//sort
char ch[] = str.toCharArray();
Arrays.sort(ch);
String strSorted = new String( ch.length;);
``