I know two reason to use generic List over List of objects.
To restrict what type of objects can be inserted into the List
List<Object> stringObjects = Arrays.asList("a",new Integer(5)); List<String> genericStrings = Arrays.asList("a",new Integer(5));//compile error
To have access to the correct method in your IDE
List<Object> stringObjects = Arrays.asList("a",new Integer(5)); List<String> genericStrings = Arrays.asList("a"); stringObjects.get(0).length();//compile error genericStrings.get(0).length();
When I gave this answer to an interview, but they didn't seem very happy with my answer. So are there any other reason to user Generic List over List of objects?