I have a class with number fields a, b, and c, and now I want to take an array and add the first element to a, the second element to b, and the third element to c. I.e.: