摘要: import java.util.Arrays; public class Copy2 { public static void main(String [] args){ //数组填充 fill(要元素替换的数组int[]a,填充的值int value) int []a = new int [6]; Arrays.fill(a,8); //将a数组中所有元素填... 阅读全文
posted @ 2017-06-24 16:09 云上咖啡 阅读(1344) 评论(0) 推荐(0)