I read so many articles but I can't understand the difference between these two lines:
ArrayList<String> list = new ArrayList();
ArrayList<String> list = new ArrayList<String>();
The only difference I see that the first line trigger an "Unchecked assignment" warning.