Arrays does not have an inner class ArrayList. When I check the source code I find private static class ArrayList<E>, not an inner class. From the JLS: "An inner class is a nested class that is not explicitly or implicitly declared static." "The static keyword may modify the declaration of a member type C within the body of a non-inner class or interface T. Its effect is to declare that C is not an inner class."
Arraysdoes not have an inner classArrayList. When I check the source code I findprivate static class ArrayList<E>, not an inner class. From the JLS: "An inner class is a nested class that is not explicitly or implicitly declaredstatic." "Thestatickeyword may modify the declaration of a member type C within the body of a non-inner class or interface T. Its effect is to declare that C is not an inner class."