java數組知識點總結

2 數組 2.1 聲明&遍歷數組&數組長度 public class ArrayTest {     public static void main(String[] args) { //     int[] a=new int[5]; //聲明一個數組        int[] a={1,2,3,4,5};        for (int i= 0; i < a.length; i++) {  
相關文章
相關標籤/搜索