title: How to convert Object's property values in to an array in Java?
body: <p>Say if I have, a list of objects like:-</p>
  <pre><code>[id = 1, age = 34, name = &quot;abc&quot;]
  [id = 2, age = 34, name = &quot;xyz&quot;]
  [id = 3, age = 34, name = &quot;mno&quot;]
  </code></pre>
  <p>then I need to convert them to :-</p>
  <pre><code>[1], [34], [abc],
  [2], [34], [xyz],
  [3], [34], [mno]
  </code></pre>