数组有没有length()这个方法?String有没有length()这个方法? 解答:数组没有length()方法 它有length属性 String有length()方法。 转载于:https://www.cnblogs.com/borter/p/9548355.html