title: How to repeat string "n" times in java?
body: <p>I want to be able to repeat a string of text "n" times:</p>
  
  <p>Something like this -</p>
  
  <pre>
  String "X",
  user input = n,
  5 = n,
  output: XXXXX
  </pre>
  
  <p>I hope this makes sense...
  (Please be as specific as possible)</p>