12.数组中有没有length()方法?String有没有length()方法?答:数组没有length()方法,有length属性。String有length()方法。(集合求长度用size()方法)import java.util.ArrayList;import java.util.List; public class Length_Size { public static void main(String[] args) { String[] strings = {"aaa","bbb","ccc"}; ...