如:int[] a=new int[]{1,2,3}我知道new关键字会在堆中创建int类型数组对象那么 int[] a={1,2,3}没有关键字new会不会创建对象
会,效果一样的,只是不同的表达方式
会的,都是对象,就如同String str="ad"