java数组与内存分析

如果数组中的数据是基础类型的数据:

         int[] s = new int(5);

           

           

 

数组中的数据是引用类型的数据:

Date[] days = new Date(3);

         

posted @ 2016-11-23 21:20  天涯海角路  阅读(72)  评论(0)    收藏  举报