title: Creating an object from Arrays in Java
body: <p>I have two lists and I am trying to create an object with the elements in this list.</p>
  <p>for ex.</p>
  <p>[&quot;John Wick&quot; , &quot;New York&quot; , 530520 , 560999 ] and [&quot;Alex Souza&quot; , &quot;Houston&quot;, 556895]</p>
  <p>some lists may have 1 number, some may have more numbers.</p>
  <p>how can i create?</p>