public static String toString(int[] arr){
  if (arr == null) {
    return "";
  }
  StringBuffer sb=new StringBuffer();
  for (  int anArr : arr) {
    sb.append((char)anArr);
  }
  return sb.toString();
}

public static String toString ( int [ ] arr ) { if ( arr == null ) { return "" ; } StringBuffer sb = new StringBuffer ( ) ; for ( int anArr : arr ) { sb . append ( ( char ) anArr ) ; } return sb . toString ( ) ; }
converts an int array to string . note : this method does not validate that int values map to valid characters
