Java笔记之数组

1.int flags[] = new int[10];数组中的每个元素初始化为0.

  Arrays.fill(flags, 0);将数组中每个元素置为0.

原文地址:https://www.cnblogs.com/qiaoshanzi/p/4970318.html