Multiple classes in an (undefined) ArrayList?

Try this

aPlayer = (playerClass) sampleList.get(i);

What was the error message?

1 Like