Giving your list a type
To create a list you need a type (any class, e.g. String). This is the type of your List. The List will only store objects of the specified type. For example:
List<String> strings;
Can store "string1", "hello world!", "goodbye", etc, b...