Recommended reading: Lesson: Classes and Objects (The Java™ Tutorials > Learning the Java Language)
Type: Posts; User: KevinWorkman
Recommended reading: Lesson: Classes and Objects (The Java™ Tutorials > Learning the Java Language)
You need to create an Object that encapsulates those variables. It doesn't make sense to add all of them to the List at once- you need to put them into an Object, then add that Object to the List.