Why is it preferred to declare: List<String> list = new ArrayList<String>()
807588Jul 27 2009 — edited Jul 27 2009Hello.
Why is it preferred to declare: List<String> list = new ArrayList<String>(); instead of ArrayList<String> = new ArrayList<String>();
Thanks.