I have created a class and have four properties and I am reading the values from a CSV file and then assign them to the class properties and then trying to add the object to Arraylist.
But after the loop, the array list has got 5 items, but all items look the same!
Code:
// declaring the array list
ArrayList objClaimData = new ArrayList();
// creating an instance of the