by bilalq · 12y ago · 0 comments
While we're at it, "List <? extends Player>" might be a better type for the roster, since it allows players to be subclassed and still fit into the list.
Regardless, compositition makes more sense for this case anyway.
http://docs.oracle.com/javase/tutorial/java/IandI/defaultmet...
Java: 20th Century technology... TODAY