Data structure: table vs. <class>ArrayList

Sketch above “Table CSV Card Pack” loads file “Cardpack.csv”, creates a Card[] array and transfers Table columns “Number”, “Rank”, “Suit”, “Image” to Card fields value, rank, suit, img respectively.

2 Likes