7. แถวลำดับ

The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

 
รหัสที่ 7-37  ตัวอย่างการสร้างเมทริกซ์แบบสามเหลี่ยมล่าง
    int[][] m = new int[3][];
    m[0] = new int[]{1};
    m[1] = new int[]{2,4};
    m[2] = new int[]{5,7,6};
©2009 S.Prasitjutrakul