4 public String(char string[]) {
8 public String(byte str[]) {
9 char charstr[]=new char[str.length];
10 for(int i=0;i<str.length;i++)
11 charstr[i]=(char)charstr[i];
15 char[] toCharArray() {
16 char str[]=new char[string.length];
17 for(int i=0;i<string.length;i++)
23 byte str[]=new byte[string.length];
24 for(int i=0;i<string.length;i++)
25 str[i]=(byte)string[i];
33 public char charAt(int x) {
37 public static String valueOf(Object o) {
41 public static String valueOf(int x) {
55 chararray=new char[length+1];
57 chararray=new char[length];
67 chararray[--length+offset]=(char)(x%10+'0');
70 return new String(chararray);