List<String> strList = new ArrayList<String>();
strList.get(0);
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
strList .size() is 0,you can not invoke get (0).
List<String> strList = new ArrayList<String>();
strList.get(0);
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
strList .size() is 0,you can not invoke get (0).