title: Java ArrayList Item Counter ie "Apple, 3×Banana, 2×Orange"
body: <p>I'm sure this isn't a hugely complex problem but I'm relatively new to java and have been puzzling with this one for a while. </p>
  
  <p>Say I have an array which contains 6 string values, and lets say they are: <code>[Apple, Banana, Banana, Banana, Orange, Orange]</code>. I am looking to build a method that will take this array and return a string, in the case above, as: <code>"Apple, 3×Banana, 2×Orange"</code>.</p>
  
  <p>I would greatly appreciate some help with this. I've been trying different techniques to achieve this but fall down on the correct behavior on the first iteration of the array and when to detect a repeated value ect.</p>