title: How do I prefix a String to each element in an array of Strings?
body: <p>I would like to know if there is, in Java, a function that can prefix a defined String to the beginning of every String of an array of Strings.</p>
  
  <p>For example, </p>
  
  <pre><code>my_function({"apple", "orange", "ant"}, "eat an ")  would return {"eat an apple", "eat an orange", "eat an ant"}
  </code></pre>
  
  <p>Currently, I coded this function, but I wonder if it already exists.</p>