Answer: repeated = new String(new char[n]). replace("\0", s); Where n is the number of times you want to repeat the string and s is the string to repeat.
Step-by-step explanation:
3.5m questions
4.5m answers