Originally Posted by
Aosora
Ok i looked up generics and basically its to minimize errors and make code easier to read. I've also looked up some examples and i still don't get what i need to fix please can someone show me cuz apparently im pretty stiff and im so close to finishing my program please anyone this would help me out greatly also i would know what to do in other instances of this occuring.
Generics, in your case, will also show you some bugs in your code. You are relying on implicit casting to turn a String into an int.
My advice is to stop and think about what you are putting INTO the ArrayList, and then what you are doing to fetch those Objects out later.