Arraylist default size is 10?
725337Oct 8 2009 — edited Oct 8 2009I was getting through the javadoc of ArrayList and I found that the capacity of the ArrayList to be 10 for the default constructor. Why 10?
Reference: [http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html#ArrayList%28%29]