Can you tell me something about type safety?
Perfect! Without a type restriction, ArrayLists take any object, which can lead to crashes. That's why it's smart to restrict ArrayLists to a single type.
Oh noes! Without a type restriction, ArrayLists take any object, which can lead to crashes. That's why it's smart to restrict ArrayLists to a single type.