public static String genString(int size){
  char[] array=new char[size];
  Arrays.fill(array,'\'');
  return String.valueOf(array);
}

public static String genString ( int size ) { char [ ] array = new char [ size ] ; Arrays . fill ( array , '\'' ) ; return String . valueOf ( array ) ; }
generates string of " ` " char not effective on large sizes
