java - Array's length property - Stack Overflow

java - Array's length property - Stack Overflow

瀏覽:649
日期:2024-08-04
Similarly we can determine the length of an Array object using the length property String[] str = new String[10]; int size = str.length; ... public static void main(java.lang.String[]); Code: 0: aload_0 1: arraylength 2: istore_1 3: return So it's not acc...看更多