what's the difference between List and Integer list[] in java, which is better?

后端 未结 0 796
鱼传尺愫
鱼传尺愫 2020-12-14 15:23

both of them is a for loop , which one you like? List aList = Arrays.asList(1,2,3,4,5); Integer score[] = {1,2,3};

    for (Integer a:
         aList) {
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题