code: public static String join(String delimiter, String[] arr) {
      return join(delimiter, Arrays.asList(arr));
    }
docs: Join the array with the given delimiter, and return it as a string.
  
  @param delimiter string to be used as a separator between array elements
  @param arr the array to join
  @return a single string containing all elements in `arr` joined together