I'm wondering...

That question would make a lot more sense if it asked how to declare an ArrayList so that things returned by get() do not have to be cast. (angle brackets)