When I need to create an ArrayList that needs to store Strings, I do this -
ArrayList<String> whatwhat = new ArrayList<String>();
In eclipse, when i omit <String> from left or right of the above statement, i get a warning. Which brings me to my question, why does Java require/allow this? Shouldn't we be required to state the Generic type just one, on one side only?
